/* Accept a connection on a socket, with specific opening flags.
- Copyright (C) 2009-2012 Free Software Foundation, Inc.
+ Copyright (C) 2009-2014 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#if O_BINARY
if (flags & O_BINARY)
- setmode (fd, O_BINARY);
+ set_binary_mode (fd, O_BINARY);
else if (flags & O_TEXT)
- setmode (fd, O_TEXT);
+ set_binary_mode (fd, O_TEXT);
#endif
return fd;