*/
/* $Id$ */
-#include "silcincludes.h"
+#include "silc.h"
/* XXX GNU regex may work on Win32 too!! */
char *silc_string_regexify(const char *string)
{
return silc_get_username();
}
+
+int silc_file_set_nonblock(int fd)
+{
+ return fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) | O_NONBLOCK);
+}