Home | History | Annotate | Download | only in pending

Lines Matching defs:tfd

238   struct logfile *tfd;
240 for (tfd = TT.lfiles; tfd; tfd = tfd->next) {
244 if (*tfd->filename == '@') { // network
247 tmpfile = xstrdup(tfd->filename + 1);
254 error_exit("bad port in %s", tfd->filename);
264 memcpy(&tfd->saddr, info->ai_addr, info->ai_addrlen);
267 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
269 } else tfd->logfd = open(tfd->filename, O_CREAT | O_WRONLY | O_APPEND, 0666);
270 if (tfd->logfd < 0) {
271 tfd->filename = "/dev/console";
272 tfd->logfd = open(tfd->filename, O_APPEND);