comparison src/win32/libc_interface.h @ 12749:13276711babc

[gaim-migrate @ 15096] This allows us to access the errors, I might need to do something with the blocking for this. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 07 Jan 2006 06:30:27 +0000
parents 202ce52b77a9
children b04212d6b115
comparison
equal deleted inserted replaced
12748:dd271caf25b0 12749:13276711babc
106 106
107 int wgaim_write(int fd, const void *buf, unsigned int size); 107 int wgaim_write(int fd, const void *buf, unsigned int size);
108 #define write( socket, buf, buflen ) \ 108 #define write( socket, buf, buflen ) \
109 wgaim_write( socket, buf, buflen ) 109 wgaim_write( socket, buf, buflen )
110 110
111 int wgaim_recv(int fd, void *buf, size_t len, int flags);
112 #define recv(fd, buf, len, flags) \
113 wgaim_recv(fd, buf, len, flags)
114
111 int wgaim_close(int fd); 115 int wgaim_close(int fd);
112 #define close( fd ) \ 116 #define close( fd ) \
113 wgaim_close( fd ) 117 wgaim_close( fd )
114 118
115 #ifndef sleep 119 #ifndef sleep