Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) |
| 3 | * Licensed under the GPL |
| 4 | */ |
| 5 | |
| 6 | #ifndef __KERN_H__ |
| 7 | #define __KERN_H__ |
| 8 | |
| 9 | /* These are all user-mode things which are convenient to call directly |
| 10 | * from kernel code and for which writing a wrapper is too much of a pain. |
| 11 | * The regular include files can't be included because this file is included |
| 12 | * only into kernel code, and user-space includes conflict with kernel |
| 13 | * includes. |
| 14 | */ |
| 15 | |
Jeff Dike | 2264c47 | 2006-01-06 00:18:59 -0800 | [diff] [blame] | 16 | extern int printf(const char *fmt, ...); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | extern void *sbrk(int increment); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | extern int pause(void); |
Jeff Dike | c90e12b | 2006-03-27 01:14:29 -0800 | [diff] [blame] | 19 | extern void exit(int); |
Jeff Dike | 2264c47 | 2006-01-06 00:18:59 -0800 | [diff] [blame] | 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif |
| 22 | |