100 #ifdef MSPACK_NO_DEFAULT_SYSTEM
127 default:
return NULL;
150 if (!ferror(self->fh))
return (
int)
count;
159 if (!ferror(self->fh))
return (
int)
count;
187 return (
self) ? (
off_t) ftell(self->fh) : 0;
194 va_start(ap, format);
195 vfprintf(stderr, format, ap);
197 fputc((
int)
'\n', stderr);
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
RZ_API void Ht_() free(HtName_(Ht) *ht)
return memset(p, 0, total)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
static struct mspack_file * msp_open(struct mspack_system *self, const char *filename, int mode)
static void msp_msg(struct mspack_file *file, const char *format,...)
static struct mspack_system msp_system
static void msp_copy(void *src, void *dest, size_t bytes)
static int msp_write(struct mspack_file *file, void *buffer, int bytes)
static int msp_read(struct mspack_file *file, void *buffer, int bytes)
static off_t msp_tell(struct mspack_file *file)
static int msp_seek(struct mspack_file *file, off_t offset, int mode)
static void * msp_alloc(struct mspack_system *self, size_t bytes)
static void msp_free(void *buffer)
static void msp_close(struct mspack_file *file)
void * malloc(size_t size)
void(* copy)(void *src, void *dest, size_t bytes)
void(* close)(struct mspack_file *file)
struct mspack_file *(* open)(struct mspack_system *self, const char *filename, int mode)
void(* message)(struct mspack_file *file, const char *format,...)
int(* seek)(struct mspack_file *file, off_t offset, int mode)
int(* read)(struct mspack_file *file, void *buffer, int bytes)
int(* write)(struct mspack_file *file, void *buffer, int bytes)
off_t(* tell)(struct mspack_file *file)
void *(* alloc)(struct mspack_system *self, size_t bytes)