Changeset 4f4b4e7 in mainline for uspace/lib/posix/stdlib.h


Ignore:
Timestamp:
2011-06-15T23:38:45Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b08ef1fd
Parents:
ab547063
Message:

Coding style and file structure unified.
_exit moved to unistd.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/stdlib.h

    rab547063 r4f4b4e7  
    4343#endif
    4444
     45/* Process Termination */
    4546#undef EXIT_FAILURE
    4647#define EXIT_FAILURE 1
    4748#undef EXIT_SUCCESS
    4849#define EXIT_SUCCESS 0
    49 
    50 #define _exit exit
    5150#define _Exit exit
    5251
    5352/* Array Sort Function */
    54 extern void posix_qsort(void *array, size_t count, size_t size, int (*compare)(const void *, const void *));
     53extern void posix_qsort(void *array, size_t count, size_t size,
     54    int (*compare)(const void *, const void *));
    5555
    5656/* Environment Access */
     
    6060extern char *posix_realpath(const char *restrict name, char *restrict resolved);
    6161
    62 /* decimal to native floating point conversion */
     62/* Floating Point Conversion */
    6363extern float posix_strtof(const char *restrict nptr, char **restrict endptr);
    6464extern double posix_strtod(const char *restrict nptr, char **restrict endptr);
    6565extern long double posix_strtold(const char *restrict nptr, char **restrict endptr);
    6666
    67 /* decimal to native integer conversion */
     67/* Integer Conversion */
    6868extern int posix_atoi(const char *str);
    6969
Note: See TracChangeset for help on using the changeset viewer.