mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
tools: check result of write
and also use the platform helpers
This commit is contained in:
@ -38,20 +38,20 @@
|
||||
#else
|
||||
size_t _sysprof_getpagesize (void);
|
||||
ssize_t _sysprof_pread (int fd,
|
||||
void *buf,
|
||||
size_t count,
|
||||
off_t offset);
|
||||
void *buf,
|
||||
size_t count,
|
||||
off_t offset);
|
||||
ssize_t _sysprof_pwrite (int fd,
|
||||
const void *buf,
|
||||
size_t count,
|
||||
off_t offset);
|
||||
const void *buf,
|
||||
size_t count,
|
||||
off_t offset);
|
||||
ssize_t _sysprof_write (int fd,
|
||||
const void *buf,
|
||||
size_t count);
|
||||
const void *buf,
|
||||
size_t count);
|
||||
gint32 _sysprof_getpid (void);
|
||||
ssize_t _sysprof_sendfile (int out_fd,
|
||||
int in_fd,
|
||||
off_t *offset,
|
||||
size_t count);
|
||||
int in_fd,
|
||||
off_t *offset,
|
||||
size_t count);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user