Changeset f2a45d9 in mainline for uspace/lib/posix/stdlib.h


Ignore:
Timestamp:
2011-06-09T16:18:19Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
98a0fd3
Parents:
4ac901c (diff), 9536e6e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge libposix again.

File:
1 edited

Legend:

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

    r4ac901c rf2a45d9  
    11/*
    22 * Copyright (c) 2011 Petr Koupy
     3 * Copyright (c) 2011 Jiri Zarevucky
    34 * All rights reserved.
    45 *
     
    5960extern char *posix_realpath(const char *restrict name, char *restrict resolved);
    6061
     62/* decimal to native floating point conversion */
     63extern float posix_strtof(const char *restrict nptr, char **restrict endptr);
     64extern double posix_strtod(const char *restrict nptr, char **restrict endptr);
     65extern long double posix_strtold(const char *restrict nptr, char **restrict endptr);
     66
     67/* decimal to native integer conversion */
     68extern int posix_atoi(const char *str);
     69
    6170#ifndef LIBPOSIX_INTERNAL
    6271        #define qsort posix_qsort
    6372        #define getenv posix_getenv
    6473        #define realpath posix_realpath
     74       
     75        #define strtof posix_strtof
     76        #define strtod posix_strtod
     77        #define strtold posix_strtold
     78       
     79        #define atoi posix_atoi
    6580#endif
    6681
Note: See TracChangeset for help on using the changeset viewer.