Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
1234567891011121314151617181920212223#include "syslog.h"#include "../errno.h"#include "../base.h"#include <linux-syscalls/linux.h>
extern long cerror(int __err);
VISIBLEint __linux_syslog (int type, char* bufp, int len){ int rv;
rv = LINUX_SYSCALL(__NR_syslog, type, bufp, len); if (rv < 0) { cerror(errno_linux_to_bsd(-rv)); return -1; }
return rv;}