ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/eio.c
(Generate patch)

Comparing libeio/eio.c (file contents):
Revision 1.88 by root, Thu Jul 14 19:31:43 2011 UTC vs.
Revision 1.89 by root, Thu Jul 14 22:36:17 2011 UTC

58#include <sys/stat.h> 58#include <sys/stat.h>
59#include <limits.h> 59#include <limits.h>
60#include <fcntl.h> 60#include <fcntl.h>
61#include <assert.h> 61#include <assert.h>
62 62
63#include <sys/statvfs.h>
64/* intptr_t comes from unistd.h, says POSIX/UNIX/tradition */ 63/* intptr_t comes from unistd.h, says POSIX/UNIX/tradition */
65/* intptr_t only comes from stdint.h, says idiot openbsd coder */ 64/* intptr_t only comes from stdint.h, says idiot openbsd coder */
66#if HAVE_STDINT_H 65#if HAVE_STDINT_H
67# include <stdint.h> 66# include <stdint.h>
68#endif 67#endif
1199 /* round up length */ 1198 /* round up length */
1200 *length = (*length + mask) & ~mask; 1199 *length = (*length + mask) & ~mask;
1201} 1200}
1202 1201
1203#if !_POSIX_MEMLOCK 1202#if !_POSIX_MEMLOCK
1204# define eio__mlockall(a) eio_nosyscall() 1203# define eio__mlockall(a) EIO_ENOSYS ()
1205#else 1204#else
1206 1205
1207static int 1206static int
1208eio__mlockall (int flags) 1207eio__mlockall (int flags)
1209{ 1208{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines