repo.or.cz
/
thunix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement user space's printf stuff
[thunix.git]
/
include
/
unistd.h
blob
45d546c9277d98a8e61f40d5519ee7e0ccd5e412
1
#ifndef UNISTD_H
2
#define UNISTD_H
3
4
5
/*
6
* The first system call is used for user program writing date
7
* on the screen, aka, console. Since we didn't implement console
8
* write/read now
9
*/
10
#define __NR_conwrite 0
11
#define __NR_test1 1
12
#define __NR_test2 2
13
14
#define __NR_syscall 3
15
16
17
int
conwrite
(
char
*);
18
int
test1
(
int
);
19
int
test2
(
int
,
char
*);
20
21
22
23
24
#endif
/* unistd.h */