POSIX compliance

This is a discussion on POSIX compliance within the C Programming forums, part of the General Programming Boards category; How can I ensure that my code is posix compliant? The way I have been approaching it is to avoid ...

  1. #1
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300

    POSIX compliance

    How can I ensure that my code is posix compliant? The way I have been approaching it is to avoid non-standard functions; is there anything else I should be concerned about if this is a requirement?
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,607
    Just familiarize yourself with the specification itself - at least for the functions you're using.

    The recently released 2008 version is here:
    http://www.opengroup.org/onlinepubs/9699919799/toc.htm

    Not familiar with what was added/changed in the recent version, but for now you may want to reference the prior (2004) version here:
    http://www.opengroup.org/onlinepubs/009695399/toc.htm

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Implementing POSIX Timers on AIX - Holy Moly
    By dedham_ma_man in forum C Programming
    Replies: 2
    Last Post: 10-03-2007, 02:36 AM
  2. getting status of a posix thread
    By fragglerock in forum C Programming
    Replies: 1
    Last Post: 09-24-2007, 04:12 PM
  3. POSIX threads policy and priority
    By arunj in forum Linux Programming
    Replies: 2
    Last Post: 06-13-2006, 03:48 AM
  4. posix for visual c++ 6
    By xErath in forum Tech Board
    Replies: 4
    Last Post: 05-20-2005, 12:46 AM
  5. POSIX on windows anyone?
    By Lynux-Penguin in forum Linux Programming
    Replies: 1
    Last Post: 08-27-2003, 12:56 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21