PSPSDK 2024-12-16
Loading...
Searching...
No Matches
glue.c File Reference
#include <stdio.h>
#include <errno.h>
#include <malloc.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <pwd.h>
#include <sys/time.h>
#include <sys/timeb.h>
#include <sys/times.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/statvfs.h>
#include <psptypes.h>
#include <pspiofilemgr.h>
#include <pspmodulemgr.h>
#include <pspsysmem.h>
#include <pspthreadman.h>
#include <psputils.h>
#include <pspsdk.h>
#include <psprtc.h>
#include <psputility.h>
#include "fdman.h"
Include dependency graph for glue.c:

Macros

#define DEFAULT_HEAP_THRESHOLD_SIZE_KB   512
 

Functions

unsigned int sce_newlib_heap_kb_size __attribute__ ((weak))
 
int __get_drive (const char *d)
 
int __path_absolute (const char *in, char *out, int len)
 
int __set_errno (int code)
 
int __pipe_read (int fd, void *buf, size_t len)
 
int __pipe_close (int fd)
 
int __pipe_write (int fd, const void *buf, size_t len)
 
int __pipe_nonblocking_read (int fd, void *buf, size_t len)
 
int __pipe_nonblocking_write (int fd, const void *buf, size_t len)
 
int __socket_close (int sock)
 
int _open (const char *buf, int flags, int mode)
 
int _stat (const char *filename, struct stat *buf)
 

Variables

char __cwd [MAXNAMLEN+1]
 
SceLwMutexWorkarea __sbrk_mutex
 
struct passwd __dummy_passwd
 
SceUID __psp_heap_blockid
 

Macro Definition Documentation

◆ DEFAULT_HEAP_THRESHOLD_SIZE_KB

#define DEFAULT_HEAP_THRESHOLD_SIZE_KB   512

Function Documentation

◆ __attribute__()

unsigned int sce_newlib_heap_kb_size __attribute__ ( (weak )
extern

◆ __get_drive()

int __get_drive ( const char d)

◆ __path_absolute()

int __path_absolute ( const char in,
char out,
int  len 
)

◆ __pipe_close()

int __pipe_close ( int  fd)

◆ __pipe_nonblocking_read()

int __pipe_nonblocking_read ( int  fd,
void buf,
size_t  len 
)

◆ __pipe_nonblocking_write()

int __pipe_nonblocking_write ( int  fd,
const void buf,
size_t  len 
)

◆ __pipe_read()

int __pipe_read ( int  fd,
void buf,
size_t  len 
)

◆ __pipe_write()

int __pipe_write ( int  fd,
const void buf,
size_t  len 
)

◆ __set_errno()

int __set_errno ( int  code)

◆ __socket_close()

int __socket_close ( int  sock)

◆ _open()

int _open ( const char buf,
int  flags,
int  mode 
)

◆ _stat()

int _stat ( const char filename,
struct stat buf 
)

Variable Documentation

◆ __cwd

char __cwd[MAXNAMLEN+1]
extern

◆ __dummy_passwd

struct passwd __dummy_passwd
extern

◆ __psp_heap_blockid

SceUID __psp_heap_blockid
extern

◆ __sbrk_mutex

SceLwMutexWorkarea __sbrk_mutex
extern