mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Changed return type of FILE::tell_func to off_t.
This commit is contained in:
parent
fec176fa15
commit
e05e934beb
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ typedef struct _FILE
|
|||
size_t (*read_func)(void* ptr, size_t size, size_t nmemb, void* user);
|
||||
size_t (*write_func)(const void* ptr, size_t size, size_t nmemb, void* user);
|
||||
int (*seek_func)(void* user, off_t offset, int whence);
|
||||
long (*tell_func)(void* user);
|
||||
off_t (*tell_func)(void* user);
|
||||
void (*clearerr_func)(void* user);
|
||||
int (*eof_func)(void* user);
|
||||
int (*error_func)(void* user);
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include "fdio.h"
|
||||
|
||||
const int FDIO_WRITING = (1<<0);
|
||||
const int FDIO_READING = (1<<1);
|
||||
|
|
Loading…
Add table
Reference in a new issue