summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1999-09-27 23:09:42 +0000
committerlukem <lukem@NetBSD.org>1999-09-27 23:09:42 +0000
commit70c01ac44a01099087b4cdc1283df204b8b80e99 (patch)
tree7458ece851e4990255d5c5674546f8e4f886f846 /sys/dev/ic
parent488eb9861385c180a02b08290dc2cfdef6583132 (diff)
* idle(): rename to idlecmd(). certain linux distributions have an incompatible
prototype for idle() in <unistd.h> (which i thought was against namespace and sensibility guidelines, but...) * consistently use xsignal() instead of signal(). we get known behaviour in all cases (SA_RESTART), which is good for some borken foreign systems. * remove signal.h from most files; it's unnecessary now * fetch_url(): use `long chunksize' instead of ssize_t; it's more portable, and we're setting chunksize with strtol() anyway * xsignal(): only use SA_RESTART if it exists. SunOS 4.x doesn't have it but has the inverse (SA_INTERRUPT). the original function i was inspired from had this support (lib/signal.c, W. Richard Stevens' `UNP 2nd ed Vol 1'). * remove <termios.h> from util.c; it should be unnecessary now
Diffstat (limited to 'sys/dev/ic')
0 files changed, 0 insertions, 0 deletions