Home | History | Annotate | Download | only in pending

Lines Matching defs:tfd

239   struct logfile *tfd;
241 for (tfd = TT.lfiles; tfd; tfd = tfd->next) {
245 if (*tfd->filename == '@') { // network
248 tmpfile = xstrdup(tfd->filename + 1);
255 error_exit("bad port in %s", tfd->filename);
265 memcpy(&tfd->saddr, info->ai_addr, info->ai_addrlen);
268 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
270 } else tfd->logfd = open(tfd->filename, O_CREAT | O_WRONLY | O_APPEND, 0666);
271 if (tfd->logfd < 0) {
272 tfd->filename = "/dev/console";
273 tfd->logfd = open(tfd->filename, O_APPEND);