Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    libnostd 20120316

    Download button

    No screenshots available
    Downloads: 219  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    William Ahern | More programs
    MIT/X Consortium Lic... / FREE
    March 17th, 2012, 21:08 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    libnostd description

    Not-so-standard standard macros and routines

    libnostd is a collection of both cross-platform compatibility routines and macros, and common macros and routines used in general-purpose C programming.

    For example, one compatibility issue addressed are the < sys/time.h > timer macros and gettimeofday(2) routine, some or all of which are not available in a WIN32 environment but provided in this library. Similarly, the popular strlcpy(3) and strlcat(3) routines are provided.

    As a general rule, libnostd only contains interfaces which have a long history in the generally available body of C code. A de jure or de facto standard counts strongly (e.g. WinSock or ISO C99 routines).

    Most interfaces--setproctitle() the exception--are provided in headers files using macros and static inline function definitions. No extra compilation steps are required to make use of the library; simply add the appropriate include paths. In general, compatability is provided transparently. For instance, for strlcpy() simply #include < string.h >, as-if on any modern BSD environment.

    Some of the interfaces provided:

     * setproctitle()
     * arc4random()
     * arc4random_buf()
     * strlcpy()
     * strlcat()
     * err.h
     * sys/param.h
     * sys/queue.h
     * sys/tree.h
     * sys/time.h
     * stdatomic.h
     * strdupa()
     * strndupa()
     * strnlen()


    Product's homepage

    What's New in This Release: [ read full changelog ]

    · setproctitle has been patched to silence -Wstrict-prototypes and -Wredundant-decls warnings.

      


    TAGS:

    C programming | C library | macros | routines | library

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM