@@ -62,6 +62,7 @@ impl_hook!(PREADV, preadv(fd: c_int, iov: *const iovec, iovcnt: c_int, offset: o
6262impl_hook ! ( RECVMSG , recvmsg( fd: c_int, msg: * mut msghdr, flags: c_int) -> ssize_t) ;
6363impl_hook ! ( SEND , send( fd: c_int, buf: * const c_void, len: size_t, flags: c_int) -> ssize_t) ;
6464impl_hook ! ( SENDTO , sendto( fd: c_int, buf: * const c_void, len: size_t, flags: c_int, addr: * const sockaddr, addrlen: socklen_t) -> ssize_t) ;
65+ impl_hook ! ( WRITE , write( fd: c_int, buf: * const c_void, count: size_t) -> ssize_t) ;
6566impl_hook ! ( PWRITE , pwrite( fd: c_int, buf: * const c_void, count: size_t, offset: off_t) -> ssize_t) ;
6667impl_hook ! ( WRITEV , writev( fd: c_int, iov: * const iovec, iovcnt: c_int) -> ssize_t) ;
6768impl_hook ! ( PWRITEV , pwritev( fd: c_int, iov: * const iovec, iovcnt: c_int, offset: off_t) -> ssize_t) ;
@@ -85,5 +86,3 @@ impl_hook!(RENAMEAT2, renameat2(olddirfd: c_int, oldpath: *const c_char, newdirf
8586// NOTE: unhook pthread_mutex_lock/pthread_mutex_unlock due to bug
8687// impl_hook!(PTHREAD_MUTEX_LOCK, pthread_mutex_lock(lock: *mut pthread_mutex_t) -> c_int);
8788// impl_hook!(PTHREAD_MUTEX_UNLOCK, pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> c_int);
88-
89- impl_hook ! ( WRITE , write( fd: c_int, buf: * const c_void, count: size_t) -> ssize_t) ;
0 commit comments