summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/calloc.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-01-02 13:05:57 +0000
committerCorinna Vinschen <corinna@vinschen.de>2006-01-02 13:05:57 +0000
commit8584a9df5f3767dcc060188718c6dae92e14807b (patch)
tree9d1f249ec0373be154bfcb63b484a62e7d48b868 /newlib/libc/stdlib/calloc.c
parentd05c10aecd5ae00d742bbf9cf9d07b3a13e861d1 (diff)
downloadcygnal-8584a9df5f3767dcc060188718c6dae92e14807b.tar.gz
cygnal-8584a9df5f3767dcc060188718c6dae92e14807b.tar.bz2
cygnal-8584a9df5f3767dcc060188718c6dae92e14807b.zip
* syslog.cc: Include sys/un.h instead of sys/socket.h.
(syslogd_inited): Convert to enum type noting the exact result of trying to connect to syslog daemon. Use this way throughout. (connect_syslogd): New static function taking over the task to connect to syslog socket. Use correct struct sockaddr_un instead of struct sockaddr. (try_connect_syslogd): Call connect_syslogd. If write fails on connection oriented socket, try to reconnect to syslog socket and try to write again.
Diffstat (limited to 'newlib/libc/stdlib/calloc.c')
0 files changed, 0 insertions, 0 deletions