Changeset 34122
- Timestamp:
- Jul 5, 2012, 11:26:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120627/Ohana/src/tools/src/glockfile.c
r31850 r34122 5 5 char *filename; 6 6 double timeout; 7 int holdtime, state, type;7 int N, holdtime, state, type; 8 8 FILE *f; 9 10 timeout = 30.0; 11 if ((N = get_argument (argc, argv, "-timeout"))) { 12 remove_argument (N, &argc, argv); 13 timeout = atof (argv[N]); 14 remove_argument (N, &argc, argv); 15 } 9 16 10 17 if (argc != 4) { … … 14 21 15 22 filename = argv[1]; 16 timeout = 30.0;17 18 23 holdtime = atoi (argv[3]); 19 24
Note:
See TracChangeset
for help on using the changeset viewer.
