Changeset 89c57b6 in mainline for uspace/lib/c/include/unistd.h


Ignore:
Timestamp:
2011-04-13T14:45:41Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
88634420
Parents:
cefb126 (diff), 17279ead (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 mainline changes.

File:
1 edited

Legend:

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

    rcefb126 r89c57b6  
    3737
    3838#include <sys/types.h>
     39#include <time.h>
    3940#include <libarch/config.h>
    4041
    4142#ifndef NULL
    42         #define NULL  0
     43        #define NULL  ((void *) 0)
    4344#endif
    44 
    45 #define getpagesize()  (PAGE_SIZE)
    4645
    4746#ifndef SEEK_SET
     
    5756#endif
    5857
    59 typedef uint32_t useconds_t;
     58#define getpagesize()  (PAGE_SIZE)
    6059
    6160extern int dup2(int oldfd, int newfd);
     
    7574extern int chdir(const char *);
    7675
    77 extern void _exit(int) __attribute__((noreturn));
     76extern void exit(int) __attribute__((noreturn));
    7877extern int usleep(useconds_t);
    7978extern unsigned int sleep(unsigned int);
Note: See TracChangeset for help on using the changeset viewer.