unsigned long long unix_time, windows_time;
const time_t MILLISECONDS_BETWEEN_1601_AND_1970 = 11644473600000;
- // Ignore the timezone parameter
+ /* Ignore the timezone parameter */
(void)tzp;
/*
return (-1);
}
-// This is assumed to be used only by the network code,
-// and so doesn't try and handle any of the other cases
+/*
+ * This is assumed to be used only by the network code,
+ * and so doesn't try and handle any of the other cases
+ */
int fcntl(int fildes, int cmd, ...)
{
- // non-blocking mode doesn't work the same as in BSD sockets,
- // so ignore it.
+ /*
+ * non-blocking mode doesn't work the same as in BSD sockets,
+ * so ignore it.
+ */
#if 0
va_list ap;
int val, opt, status;
return ENOSYS;
}
-// Windows doesn't support advice for memory pages. Just ignore it.
+/* Windows doesn't support advice for memory pages. Just ignore it. */
int msync(void *addr, size_t len, int flags)
{
log_err("%s is not implemented\n", __func__);