PSPSDK 2024-12-16
Loading...
Searching...
No Matches
pspstdio_kernel.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
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 */
13
14#ifndef PSPSTDIO_KERNEL_H
15#define PSPSTDIO_KERNEL_H
16
17#include <psptypes.h>
18#include <pspkerneltypes.h>
19#include <pspiofilemgr.h>
20
25#ifdef __cplusplus
26extern "C" {
27#endif
28
41int sceKernelStdoutReopen(const char *file, int flags, SceMode mode);
42
52int sceKernelStderrReopen(const char *file, int flags, SceMode mode);
53
54
64int fdprintf(int fd, const char *format, ...);
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* PSPSTDIO_KERNEL_H */
u32 flags
Definition fixup.c:1
int sceKernelStderrReopen(const char *file, int flags, SceMode mode)
Function reopen the stderr file handle to a new file.
int fdprintf(int fd, const char *format,...)
fprintf but for file descriptors
int sceKernelStdoutReopen(const char *file, int flags, SceMode mode)
Function reopen the stdout file handle to a new file.
int SceMode
Definition pspkerneltypes.h:34
float x
Definition psptypes.h:0