]> gitweb.factorcode.org Git - factor.git/commitdiff
unix.ffi: third argument of ioctl should be void*, not c-string (reported by ceninan)
authorJoe Groff <arcata@gmail.com>
Wed, 30 Jun 2010 16:09:16 +0000 (09:09 -0700)
committerJoe Groff <arcata@gmail.com>
Wed, 30 Jun 2010 16:09:16 +0000 (09:09 -0700)
basis/unix/ffi/ffi.factor

index 6c6399b8bdc0ec7307f98ecc2767620be80c46e9..5b26cf8deb7544786732873d644fe23a4c9b52ac 100644 (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 ) ;