Lines Matching refs:fuser
104 int cflg; /* fuser only */
106 int fuser; /* 1 if we are fuser, 0 if we are fstat */
107 int signo; /* signal to send (fuser only) */
157 /* are we fstat(1) or fuser(1)? */
158 if (strcmp(__progname, "fuser") == 0) {
159 fuser = 1;
162 fuser = 0;
167 * fuser and fstat share three flags: -f, -s and -u. In both cases
168 * -f is a boolean, but for -u fstat wants an argument while fuser
169 * does not and for -s fuser wants an argument whereas fstat does not.
215 if (fuser) {
225 if (!fuser) {
275 } else if (fuser)
278 if (!fuser && fsflg && !checkfile) {
295 if (fuser) {
297 * fuser
321 if (!fuser)
324 if (fuser)
329 if (fuser)
909 if (fuser && !fsflg && S_ISBLK(sb.st_mode)) {
926 if (!fuser && S_ISSOCK(sb.st_mode)) {
967 if (fuser) {
968 fprintf(stderr, "usage: fuser [-cfku] [-M core] "