vitasdk
Documentation of the vitasdk
clib.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>
#include <stdarg.h>

Go to the source code of this file.

Data Structures

struct  SceClibMspaceStats
 Structure for stats of SceClibMspace. More...
 

Typedefs

typedef void * SceClibMspace
 A handle for a managed memory space. More...
 

Functions

 VITASDK_BUILD_ASSERT_EQ (4, SceClibMspace)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceClibMspaceStats)
 
void sceClibAbort (void)
 Run bkpt #0x88 and end the process in state -1. More...
 
char sceClibLookCtypeTable (char ch)
 
int sceClibTolower (char ch)
 
int sceClibToupper (char ch)
 
int sceClibPrintf (const char *fmt,...) __attribute__((format(printf
 
int int sceClibDprintf (SceUID fd, const char *fmt,...) __attribute__((format(printf
 
int int int sceClibSnprintf (char *dst, SceSize dst_max_size, const char *fmt,...) __attribute__((format(printf
 
int int int int sceClibVsnprintf (char *dst, SceSize dst_max_size, const char *fmt, va_list args) __attribute__((format(printf
 
int int int int char * sceClibStrncpy (char *dst, const char *src, SceSize len)
 
char * sceClibStrncat (char *dst, const char *src, SceSize len)
 
char * sceClibStrchr (const char *s, int ch)
 
char * sceClibStrrchr (const char *src, int ch)
 
char * sceClibStrstr (const char *s1, const char *s2)
 
int sceClibStrcmp (const char *s1, const char *s2)
 
int sceClibStrncmp (const char *s1, const char *s2, SceSize len)
 
int sceClibStrncasecmp (const char *s1, const char *s2, SceSize len)
 
SceSize sceClibStrnlen (const char *s1, SceSize max_len)
 
void * sceClibMemset (void *dst, int ch, SceSize len)
 
void * sceClibMemcpy (void *dst, const void *src, SceSize len)
 
void * sceClibMemcpy_safe (void *dst, const void *src, SceSize len)
 
void * sceClibMemmove (void *dst, const void *src, SceSize len)
 
int sceClibMemcmp (const void *s1, const void *s2, SceSize len)
 
void * sceClibMemchr (const void *src, int ch, SceSize len)
 
SceClibMspace sceClibMspaceCreate (void *memblock, SceSize size)
 
void sceClibMspaceDestroy (SceClibMspace mspace)
 
SceSize sceClibMspaceMallocUsableSize (void *ptr)
 
SceBool sceClibMspaceIsHeapEmpty (SceClibMspace mspace)
 
void sceClibMspaceMallocStats (SceClibMspace mspace, SceClibMspaceStats *stats)
 
void sceClibMspaceMallocStatsFast (SceClibMspace mspace, SceClibMspaceStats *stats)
 
void * sceClibMspaceMalloc (SceClibMspace mspace, SceSize size)
 
void * sceClibMspaceCalloc (SceClibMspace mspace, SceSize num, SceSize size)
 
void * sceClibMspaceRealloc (SceClibMspace mspace, void *ptr, SceSize size)
 
void * sceClibMspaceReallocalign (SceClibMspace mspace, void *ptr, SceSize size, SceSize alignment)
 
void * sceClibMspaceMemalign (SceClibMspace mspace, SceSize alignment, SceSize size)
 
void sceClibMspaceFree (SceClibMspace mspace, void *ptr)