Lines Matching refs:addr_filename
73 char addr_filename[256];
77 sprintf(addr_filename, "%s/net%d.%dnode%d", obj->options.authprintdir,
84 if (stat(addr_filename, &cap_st) == 0) {
87 int capfd = open( addr_filename, O_RDONLY );
97 if(unlink(addr_filename) == 0) {
98 LOG(log_info, logtype_afpd, "removed %s", addr_filename);
101 addr_filename, strerror(errno));
105 addr_filename, file_pid );
108 if (unlink(addr_filename) == 0) {
109 LOG(log_info, logtype_afpd, "removed %s", addr_filename );
112 addr_filename, strerror(errno));
116 LOG(log_info, logtype_afpd, "couldn't read data from %s", addr_filename );
121 LOG(log_info, logtype_afpd, "%s is not a regular file", addr_filename );
125 addr_filename, strerror(errno));