# pspstdio_kernel.h

Go to the documentation of this file.

    00001 /*
    00002  * PSP Software Development Kit - http://www.pspdev.org
    00003  * -----------------------------------------------------------------------
    00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
    00005  *
    00006  * pspstdio_kernel.h - Interface to the kernel mode library for Stdio.
    00007  *
    00008  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
    00009  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
    00010  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
    00011  *
    00012  * $Id: pspstdio_kernel.h 1095 2005-09-27 21:02:16Z jim $
    00013  */
    00014
    00015 #ifndef PSPSTDIO_KERNEL_H
    00016 #define PSPSTDIO_KERNEL_H
    00017
    00018 #include <psptypes.h>
    00019 #include <pspkerneltypes.h>
    00020 #include <pspiofilemgr.h>
    00021
    00026 #ifdef __cplusplus
    00027 extern "C" {
    00028 #endif
    00029
    00032
    00042 int sceKernelStdoutReopen(const char *file, int flags, SceMode mode);
    00043
    00053 int sceKernelStderrReopen(const char *file, int flags, SceMode mode);
    00054
    00055
    00065 int fdprintf(int fd, const char *format, ...);
    00068 #ifdef __cplusplus
    00069 }
    00070 #endif
    00071
    00072 #endif /* PSPSTDIO_KERNEL_H */