/trunk/uspace/lib/libc/include/sys/time.h |
---|
35,7 → 35,7 |
#ifndef LIBC_TIME_H_ |
#define LIBC_TIME_H_ |
#include <types.h> |
#include <sys/types.h> |
#define DST_NONE 0 |
/trunk/uspace/lib/libc/include/sys/types.h |
---|
35,8 → 35,12 |
#ifndef LIBC_SYS_TYPES_H_ |
#define LIBC_SYS_TYPES_H_ |
#include <types.h> |
#include <libarch/types.h> |
typedef unsigned long size_t; |
typedef signed long ssize_t; |
typedef long off_t; |
#endif |
/** @} |
/trunk/uspace/lib/libc/include/sys/mman.h |
---|
36,6 → 36,7 |
#define LIBC_MMAN_H_ |
#include <as.h> |
#include <sys/types.h> |
#define MAP_FAILED ((void *) -1) |
48,8 → 49,8 |
#define PROTO_WRITE AS_AREA_WRITE |
#define PROTO_EXEC AS_AREA_EXEC |
extern void *mmap(void *start, size_t length, int prot, int flags, int fd, |
off_t offset); |
extern void *mmap(void *start, size_t length, int prot, int flags, int fd, |
off_t offset); |
extern int munmap(void *start, size_t length); |
#endif |