mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-11-04 06:09:48 +00:00
4e1bec2062
Changed some '0' constants to '0L'. Probably not necessary, but consider it paranoia from earlier ORCA/C bugs. sys/syslog.h: These changes reflect the new implementation for syslog(3) and friends. The biggest change is that the facility/priority (which is encoded as a single number) requires 32 bits, so has been moved from an int value to a long value. This means that any programs using syslog(3) cannot merely be relinked, but will need to be recompiled. This file also contained various constants coded as bitshift values, like (4<<3). ORCA/C can't handle this in the context of a constant initializer, so these constants have been resolved and changed to single hex values. The originals are left in comments. sys/uio.h: - #include <sys/types.h> if it has not already been done. - change the return value of readv/writev back from size_t to ssize_t. I don't recall why they were originally changed, given that they weren't implemented and BSD uses ssize_t. |
||
---|---|---|
.. | ||
cdefs.h | ||
dirent.h | ||
errno.h | ||
fcntl.h | ||
file.h | ||
filio.h | ||
ioccom.h | ||
ioctl.compat.h | ||
ioctl.h | ||
mount.h | ||
param.h | ||
ports.h | ||
queue.h | ||
select.h | ||
signal.h | ||
socket.h | ||
sockio.h | ||
stat.h | ||
syslimits.h | ||
syslog.h | ||
termios.h | ||
time.h | ||
times.h | ||
tty.h | ||
ttychars.h | ||
ttycom.h | ||
ttydefaults.h | ||
ttydev.h | ||
types.h | ||
uio.h | ||
unistd.h | ||
utsname.h | ||
wait.h |