Changed return type of FILE::tell_func to off_t.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-02-12 12:14:27 +01:00
parent fec176fa15
commit e05e934beb
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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);