unix.ffi: third argument of ioctl should be void*, not c-string (reported by ceninan)

db4
Joe Groff 2010-06-30 09:09:16 -07:00
parent 8321c7b559
commit 3f13fc7099
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ FUNCTION: uint htonl ( uint n ) ;
FUNCTION: ushort htons ( ushort n ) ;
! FUNCTION: int issetugid ;
FUNCTION: int isatty ( int fildes ) ;
FUNCTION: int ioctl ( int fd, ulong request, c-string argp ) ;
FUNCTION: int ioctl ( int fd, ulong request, void* argp ) ;
FUNCTION: int lchown ( c-string path, uid_t owner, gid_t group ) ;
FUNCTION: int listen ( int s, int backlog ) ;
FUNCTION: off_t lseek ( int fildes, off_t offset, int whence ) ;