1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Replaced read() and write() with recv() and send() for socket operations

even under normal unixes.
This commit is contained in:
Daniel Stenberg 2001-11-02 13:04:23 +00:00
parent e60e7414b9
commit dc82f9e6df

View File

@ -125,8 +125,8 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
#else
#define sclose(x) close(x)
#define sread(x,y,z) read(x,y,z)
#define swrite(x,y,z) write(x,y,z)
#define sread(x,y,z) recv(x,y,z,0)
#define swrite(x,y,z) send(x,y,z,0)
#define myalarm(x) alarm(x)
#define PATH_CHAR ":"