FreeBSD/usr.bin/catman/catman.c
/*
 * Deals with junk files in the man or cat section directories.
 */
Deals with junk files in the man or cat section directories.
Deals with junk files in the man or cat section directories .
static void
junk(const char *mandir, const char *name, const char *reason)
{
	if (verbose)
		fprintf(stderr, "%s/%s: %s\n", mandir, name, reason);
	if (rm_junk) {
		fprintf(stderr, "rm %s/%s\n", mandir, name);
		if (!pretend && unlink(name) < 0)
			warn("%s/%s", mandir, name);
	}
}
static void junk ( const char * mandir , const char * name , const char * reason ) { if ( verbose ) fprintf ( stderr , " \n " , mandir , name , reason ) ; if ( rm_junk ) { fprintf ( stderr , " \n " , mandir , name ) ; if ( ! pretend && unlink ( name ) < 0 ) warn ( " " , mandir , name ) ; } }
Deals with junk files in the man or cat section directories.
Deals with junk files in the man or cat section directories .