1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) 4*4882a593Smuzhiyun */ 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun #ifndef __KERN_H__ 7*4882a593Smuzhiyun #define __KERN_H__ 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun /* These are all user-mode things which are convenient to call directly 10*4882a593Smuzhiyun * from kernel code and for which writing a wrapper is too much of a pain. 11*4882a593Smuzhiyun * The regular include files can't be included because this file is included 12*4882a593Smuzhiyun * only into kernel code, and user-space includes conflict with kernel 13*4882a593Smuzhiyun * includes. 14*4882a593Smuzhiyun */ 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun extern int printf(const char *fmt, ...); 17*4882a593Smuzhiyun extern void *sbrk(int increment); 18*4882a593Smuzhiyun extern int pause(void); 19*4882a593Smuzhiyun extern void exit(int); 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun #endif 22*4882a593Smuzhiyun 23