Lines Matching defs:fp
485 FILE *fp;
496 if ((fp = fopen(fname, "w")) == NULL)
504 (void) lockf(fileno(fp), F_LOCK, 0);
505 (void) fchmod(fileno(fp), 0600);
506 (void) fchown(fileno(fp), uid, gid);
513 (void) fprintf(fp,
520 (void) fprintf(fp, "Name Service %-7s (%u)\n",
522 (void) fprintf(fp, "Datagram Service %-7s (%u)\n",
524 (void) fprintf(fp, "Browser Service %-7s (%u)\n",
526 (void) fprintf(fp, "Timer Service %-7s (%u)\n",
529 smb_netbios_cache_dump(fp);
531 (void) lockf(fileno(fp), F_ULOCK, 0);
532 (void) fclose(fp);