Searched refs:tfp (Results 1 – 3 of 3) sorted by relevance
581 FILE *tfp; in main() local583 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { in main()584 if (fscanf(tfp, "%ld", &uptime) != 1) in main()586 fclose(tfp); in main()
643 FILE *tfp; in main() local645 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { in main()646 if (fscanf(tfp, "%ld", &uptime) != 1) in main()648 fclose(tfp); in main()
813 FILE *tfp; in main() local815 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { in main()816 if (fscanf(tfp, "%ld", &uptime) != 1) in main()818 fclose(tfp); in main()