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


Ignore:
Timestamp:
2011-06-09T15:48:24Z (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:
09b0b1fb
Parents:
ae1c11b
Message:

Add stubs for strtod() family of functions. Use not_implemented macro in stdlib.c

File:
1 edited

Legend:

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

    rae1c11b rceebf0a  
    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
    6167#ifndef LIBPOSIX_INTERNAL
    6268        #define qsort posix_qsort
    6369        #define getenv posix_getenv
    6470        #define realpath posix_realpath
     71       
     72        #define strtof posix_strtof
     73        #define strtod posix_strtod
     74        #define strtold posix_strtold
    6575#endif
    6676
Note: See TracChangeset for help on using the changeset viewer.