Home | History | Annotate | Download | only in utils

Lines Matching refs:handle

35 /* Checks if file handle is a valid one.
37 * boolean: 1 if handle is valid, or 0 if it's not valid.
40 mapfile_is_valid(MapFile* handle)
42 return handle != (void*)(ptrdiff_t)-1;
53 * A valid handle to the opened file on success, or an invalid value on
58 /* Closes a file handle opened with mapfile_open routine.
60 * handle - A handle to a file previously obtained via successful call to
65 extern int mapfile_close(MapFile* handle);
68 * Except for handle parameter, semantics of this call are the same as for
71 * handle - A handle to a file previously obtained via successful call to
74 extern ssize_t mapfile_read(MapFile* handle, void* buf, size_t nbyte);
78 * handle - A handle to a file previously obtained via successful call to
83 extern ssize_t mapfile_read_at(MapFile* handle,
90 * handle - A handle to a file previously obtained via successful call to
111 extern void* mapfile_map(MapFile* handle,