Home --> Documentations --> PJLIB Reference
Go to the documentation of this file.
19#ifndef __PJ_FILE_IO_H__
20#define __PJ_FILE_IO_H__
long pj_ssize_t Definition: types.h:64
void * pj_oshandle_t Definition: types.h:257
int pj_status_t Definition: types.h:68
pj_ssize_t pj_off_t Definition: types.h:108
pj_status_t pj_file_open(pj_pool_t *pool, const char *pathname, unsigned flags, pj_oshandle_t *fd)
pj_file_seek_type Definition: file_io.h:71
pj_status_t pj_file_read(pj_oshandle_t fd, void *data, pj_ssize_t *size)
pj_status_t pj_file_write(pj_oshandle_t fd, const void *data, pj_ssize_t *size)
pj_status_t pj_file_close(pj_oshandle_t fd)
pj_file_access Definition: file_io.h:59
pj_status_t pj_file_flush(pj_oshandle_t fd)
pj_status_t pj_file_setpos(pj_oshandle_t fd, pj_off_t offset, enum pj_file_seek_type whence)
pj_status_t pj_file_getpos(pj_oshandle_t fd, pj_off_t *pos)
@ PJ_SEEK_SET Definition: file_io.h:72
@ PJ_SEEK_CUR Definition: file_io.h:73
@ PJ_SEEK_END Definition: file_io.h:74
@ PJ_O_APPEND Definition: file_io.h:64
@ PJ_O_WRONLY Definition: file_io.h:61
@ PJ_O_RDONLY Definition: file_io.h:60
@ PJ_O_RDWR Definition: file_io.h:62
#define PJ_BEGIN_DECL Definition: config.h:1284
#define PJ_END_DECL Definition: config.h:1285
Declaration of basic types and utility.
PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.
|