SCCS-vsn: usr.bin/find/find.c 4.7
-static char *sccsid = "@(#)find.c 4.6 (Berkeley) %G%";
+static char *sccsid = "@(#)find.c 4.7 (Berkeley) %G%";
/* find COMPILE: cc -o find -s -O -i find.c -lS */
#include <stdio.h>
#include <sys/param.h>
/* find COMPILE: cc -o find -s -O -i find.c -lS */
#include <stdio.h>
#include <sys/param.h>
i = s=='d' ? S_IFDIR :
s=='b' ? S_IFBLK :
s=='c' ? S_IFCHR :
i = s=='d' ? S_IFDIR :
s=='b' ? S_IFBLK :
s=='c' ? S_IFCHR :
+ s=='f' ? S_IFREG :
+ s=='l' ? S_IFLNK :
0;
return(mk(type, (struct anode *)i, (struct anode *)0));
}
0;
return(mk(type, (struct anode *)i, (struct anode *)0));
}