Fixed possible memory corruption in commands exec and netexec; fixed command netcp...
[ZeXOS.git] / kernel / include / stdio.h
blob6fc961118e20a98e44ed56a8efccb4684717ff34
1 /*
2 * ZeX/OS
3 * Copyright (C) 2007 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
4 * Copyright (C) 2008 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef _STDIO_H
22 #define _STDIO_H
24 #define SEEK_SET 0
25 #define SEEK_CUR 1
26 #define SEEK_END 2
28 extern void puts (unsigned char *text);
29 extern void printf (const char *fmt, ...);
30 extern int sprintf (char *buffer, const char *fmt, ...);
31 extern int open (const char *pathname, int flags);
32 extern int close (int fd);
33 extern long lseek (int fd, long offset, int whence);
35 #endif