pspsdk-1.0+beta2
pspstdio_kernel.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * pspstdio_kernel.h - Interface to the kernel mode library for Stdio.
7  *
8  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
10  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
11  *
12  * $Id: pspstdio_kernel.h 1095 2005-09-27 21:02:16Z jim $
13  */
14 
15 #ifndef PSPSTDIO_KERNEL_H
16 #define PSPSTDIO_KERNEL_H
17 
18 #include <psptypes.h>
19 #include <pspkerneltypes.h>
20 #include <pspiofilemgr.h>
21 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
32 
42 int sceKernelStdoutReopen(const char *file, int flags, SceMode mode);
43 
53 int sceKernelStderrReopen(const char *file, int flags, SceMode mode);
54 
55 
65 int fdprintf(int fd, const char *format, ...);
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif /* PSPSTDIO_KERNEL_H */