Searched refs:rmtabf (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | rmtab.c | 59 static FILE *rmtabf = NULL; variable 324 if (rmtabf) in rmtab_rewrite() 325 (void) fclose(rmtabf); in rmtab_rewrite() 328 if ((rmtabf = fopen(RMTAB, "w+")) != NULL) { in rmtab_rewrite() 332 (void) fchmod(fileno(rmtabf), in rmtab_rewrite() 488 if (rmtabf == NULL || fseek(rmtabf, 0L, 2) == -1) { in rmtab_insert() 491 pos = ftell(rmtabf); in rmtab_insert() 498 if (fprintf(rmtabf, "[%s]:%s\n", host, path) == EOF) { in rmtab_insert() 502 if (fprintf(rmtabf, "%s:%s\n", host, path) == EOF) { in rmtab_insert() 506 if (fflush(rmtabf) == EOF) { in rmtab_insert() [all …]
|