libposix: fix typo
This commit is contained in:
parent
4490973b6d
commit
3916b222b5
|
@ -51,8 +51,8 @@ extern int POSIX_kill(int *errnop, int pid, int sig);
|
|||
extern int POSIX_link(int *errnop, const char *old, const char *new);
|
||||
extern off_t POSIX_lseek(int *errnop, int fd, off_t pos, int whence);
|
||||
extern int POSIX_open(int *errnop, const char *name, int flags, int mode);
|
||||
extern long POSIX_pread(int *errnop, int fd, char *buf, size_t len, off_t offset);
|
||||
extern long POSIX_pwrite(int *errnop, int fd, const char *buf, size_t len, off_t offset);
|
||||
extern long POSIX_pread(int *errnop, int fd, char *buf, size_t len, long offset);
|
||||
extern long POSIX_pwrite(int *errnop, int fd, const char *buf, size_t len, long offset);
|
||||
extern long POSIX_read(int *errnop, int fd, char *buf, size_t len);
|
||||
extern int POSIX_stat(int *errnop, const char *file, void *stat);
|
||||
extern clock_t POSIX_times(int *errnop, void *tms);
|
||||
|
|
|
@ -217,7 +217,7 @@ OnIgnoredSignalInterrupt:
|
|||
}
|
||||
|
||||
long
|
||||
POSIX_pwrite(int *errnop, int fd, const void *buf, size_t len, long offset)
|
||||
POSIX_pwrite(int *errnop, int fd, const char *buf, size_t len, long offset)
|
||||
{
|
||||
long w;
|
||||
|
||||
|
|
Loading…
Reference in New Issue