Lines Matching defs:filename
69 write_struct(char *filename, xdrproc_t structproc, void *list)
76 fp = fopen(filename, "w");
82 fp = fopen(filename, "w");
85 "cannot open file = %s for writing", filename);
94 syslog(LOG_ERR, "rpcbind: xdr_%s: failed", filename);
104 read_struct(char *filename, xdrproc_t structproc, void *list)
110 if (stat(filename, &sbuf) != 0) {
112 "rpcbind: cannot stat file = %s for reading\n", filename);
119 filename);
122 fp = fopen(filename, "r");
125 "rpcbind: cannot open file = %s for reading\n", filename);
131 fprintf(stderr, "rpcbind: xdr_%s: failed\n", filename);