Thread: check path validity in C99?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ticked and off
    Join Date
    Oct 2011
    Location
    La-la land
    Posts
    1,728
    Quote Originally Posted by PaulS View Post
    I am restricting myself to C99 for portability issues.
    My point was that you'll get wider portability relying on POSIX-1.2001 or POSIX.1-2008 C library features, than relying on C99.

    Too bad there is no POSIX C board on this forum; it would clear up a lot of the confusion. (I personally would not be here at all if the C++ and C forums were not separated.)

    As it is, a lot of Windows-specific C is discussed in the C forum, and a lot of non-Linux-specific POSIX C code is shuffled to the Linux forum, leading to either confused readers or some pedantic discussions on which set of standards/requirements a thread should abide by. No wonder most of those new to C are confused.

  2. #2
    Registered User
    Join Date
    Sep 2014
    Location
    SE Washington State
    Posts
    65
    Quote Originally Posted by Nominal Animal View Post
    My point was that you'll get wider portability relying on POSIX-1.2001 or POSIX.1-2008 C library features, than relying on C99.

    Too bad there is no POSIX C board on this forum; it would clear up a lot of the confusion. (I personally would not be here at all if the C++ and C forums were not separated.)

    As it is, a lot of Windows-specific C is discussed in the C forum, and a lot of non-Linux-specific POSIX C code is shuffled to the Linux forum, leading to either confused readers or some pedantic discussions on which set of standards/requirements a thread should abide by. No wonder most of those new to C are confused.
    While I can see your point, at 64 years old, one new language is more than enough to keep me busy right now
    I know nothing about POSIX. Is there a stable standard for it as there is in C? Is it an addition to C like so many "standard" C platforms in the past? - I will look it up so there is no need to answer the questions for me.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Validity Check.
    By Milo Juak MuTou in forum C++ Programming
    Replies: 3
    Last Post: 04-24-2013, 05:15 AM
  2. Replies: 6
    Last Post: 09-25-2012, 02:57 PM
  3. Check for validity of IP address
    By krishnampkkm in forum Linux Programming
    Replies: 1
    Last Post: 03-25-2010, 05:38 AM
  4. Help! with character validity check
    By Tdankert in forum C Programming
    Replies: 19
    Last Post: 07-30-2007, 08:41 PM
  5. Pointer validity check
    By Carlos in forum Windows Programming
    Replies: 6
    Last Post: 12-11-2003, 03:40 AM