1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)rm.c 8.5 (Berkeley) 4/18/94"; 43#else 44static const char rcsid[] = |
45 "$FreeBSD: head/bin/rm/rm.c 90644 2002-02-14 01:59:47Z imp $"; |
46#endif 47#endif /* not lint */ 48 49#include <sys/stat.h> 50#include <sys/param.h> 51#include <sys/mount.h> 52 53#include <err.h> 54#include <errno.h> 55#include <fcntl.h> 56#include <fts.h> |
57#include <grp.h> 58#include <pwd.h> |
59#include <stdio.h> 60#include <stdlib.h> 61#include <string.h> 62#include <sysexits.h> 63#include <unistd.h> 64 65int dflag, eval, fflag, iflag, Pflag, vflag, Wflag, stdin_ok; 66uid_t uid; --- 421 unchanged lines hidden --- |