Changeset 75c430e3 in mainline for uspace/lib/c/include/stdlib.h


Ignore:
Timestamp:
2018-06-19T11:48:03Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
47be512
Parents:
6c440362
git-author:
Jiri Svoboda <jiri@…> (2018-06-18 17:47:07)
git-committer:
Jiri Svoboda <jiri@…> (2018-06-19 11:48:03)
Message:

Bsearch, getenv, system need to go to libc. (although we might eventually want different implementation for POSIX mode.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/stdlib.h

    r6c440362 r75c430e3  
    3838#include <_bits/size_t.h>
    3939#include <_bits/wchar_t.h>
     40#include <bsearch.h>
    4041#include <malloc.h>
    4142#include <qsort.h>
     
    7475
    7576extern int rand(void);
    76 extern void srand(unsigned int seed);
     77extern void srand(unsigned int);
    7778
    7879extern void abort(void) __attribute__((noreturn));
     
    8283extern int at_quick_exit(void (*)(void));
    8384extern void quick_exit(int);
     85
     86extern char *getenv(const char *);
     87extern int system(const char *);
    8488
    8589extern int atoi(const char *);
Note: See TracChangeset for help on using the changeset viewer.