Subversion Repositories HelenOS-historic

Rev

Rev 1228 | Rev 1452 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1228 Rev 1237
Line 29... Line 29...
29
#ifndef __LIBC__UNISTD_H__
29
#ifndef __LIBC__UNISTD_H__
30
#define __LIBC__UNISTD_H__
30
#define __LIBC__UNISTD_H__
31
 
31
 
32
#include <types.h>
32
#include <types.h>
33
#include <arch/mm/page.h>
33
#include <arch/mm/page.h>
-
 
34
#include <task.h>
34
 
35
 
35
#define NULL 0
36
#define NULL 0
36
#define getpagesize()     (PAGE_SIZE)
37
#define getpagesize()     (PAGE_SIZE)
37
 
38
 
38
extern ssize_t write(int fd, const void * buf, size_t count);
39
extern ssize_t write(int fd, const void * buf, size_t count);
39
extern void _exit(int status);
40
extern void _exit(int status);
40
void *as_area_create(void *address, size_t size, int flags);
41
extern void *as_area_create(void *address, size_t size, int flags);
41
void *as_area_resize(void *address, size_t size, int flags);
42
extern void *as_area_resize(void *address, size_t size, int flags);
-
 
43
extern int as_area_accept(task_id_t id, void *base, size_t size, int flags);
-
 
44
extern int as_area_send(task_id_t id, void *base);
42
void *sbrk(ssize_t incr);
45
void *sbrk(ssize_t incr);
43
 
46
 
44
#endif
47
#endif