Lines Matching defs:handle
38 /* Checks if file handle is a valid one.
40 * boolean: 1 if handle is valid, or 0 if it's not valid.
43 mapfile_is_valid(MapFile* handle)
45 return handle != (void*)(ptrdiff_t)-1;
56 * A valid handle to the opened file on success, or an invalid value on
61 /* Closes a file handle opened with mapfile_open routine.
63 * handle - A handle to a file previously obtained via successful call to
68 extern int mapfile_close(MapFile* handle);
71 * Except for handle parameter, semantics of this call are the same as for
74 * handle - A handle to a file previously obtained via successful call to
77 extern ssize_t mapfile_read(MapFile* handle, void* buf, size_t nbyte);
81 * handle - A handle to a file previously obtained via successful call to
86 extern ssize_t mapfile_read_at(MapFile* handle,
93 * handle - A handle to a file previously obtained via successful call to
114 extern void* mapfile_map(MapFile* handle,