add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <errmsg.h>
|
||||
|
||||
#ifndef O_BINARY
|
||||
#define O_BINARY
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
int main(int argc,char* argv[]) {
|
||||
|
||||
Reference in New Issue
Block a user