unp #7 (reading notes) (inetd)

#include <syslog.h>
void openlog(const char *ident, int option, int facility);
void syslog(int priority, const char *format, ...);
void closelog(void);

#include <stdarg.h>
void vsyslog(int priority, const char *format, va_list ap);

#include <sys/socket.h>
int getpeername(int sockfd, struct sockaddr *addr, socklen_t *addrlen);

/*
  /etc/services
  /etc/inetd.conf
*/
posted @ 2013-07-30 20:26  srk  阅读(120)  评论(0编辑  收藏  举报