Searched defs:lockfile (Results 1 - 2 of 2) sorted by relevance

/external/libppp/src/
H A Dbundle.c671 FILE *lockfile; local
675 lockfile = ID0fopen(pidfile, "w");
676 if (lockfile != NULL) {
677 fprintf(lockfile, "%d\n", (int)getpid());
678 fclose(lockfile);
H A Dphysical.c990 FILE *lockfile; local
995 lockfile = ID0fopen(fn, "w");
996 if (lockfile != NULL) {
997 fprintf(lockfile, "%s%d\n", TUN_NAME, p->dl->bundle->unit);
998 fclose(lockfile);

Completed in 279 milliseconds