diff options
author | philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2013-12-05 22:10:55 +0000 |
---|---|---|
committer | philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2013-12-05 22:10:55 +0000 |
commit | 4254584008012b975d47540812612f297ed68d0a (patch) | |
tree | b5a177da6e06d67f96eca69c9796cf653f1cf26a /include/pub_tool_libcfile.h | |
parent | 4be47bca8e94c0ae640d83287b6656e4cbfb35f0 (diff) | |
download | valgrind-4254584008012b975d47540812612f297ed68d0a.tar.gz |
Minor tweak in the VG_(poll) syscall and callers: have a way to show
the error in case the poll syscall unexpectedly fails.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13748 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_libcfile.h')
-rw-r--r-- | include/pub_tool_libcfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pub_tool_libcfile.h b/include/pub_tool_libcfile.h index eed404fc7..00505fda9 100644 --- a/include/pub_tool_libcfile.h +++ b/include/pub_tool_libcfile.h @@ -89,7 +89,7 @@ extern SysRes VG_(dup2) ( Int oldfd, Int newfd ); extern Int VG_(rename) ( const HChar* old_name, const HChar* new_name ); extern Int VG_(unlink) ( const HChar* file_name ); -extern Int VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout); +extern SysRes VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout); extern Int VG_(readlink)( const HChar* path, HChar* buf, UInt bufsize ); extern Int VG_(getdents)( Int fd, struct vki_dirent *dirp, UInt count ); |