FreeBSD/usr.bin/catman/catman.c
/*
 * Tests to see if the given directory can be written to.
 */
Tests to see if the given directory can be written to.
Tests to see if the given directory can be written to .
static void
check_writable(char *mandir)
{
	if (verbose && !(test_path(mandir, NULL) & TEST_WRITABLE))
		fprintf(stderr, "%s: not writable - will only be able to write to existing cat directories\n", mandir);
}
static void check_writable ( char * mandir ) { if ( verbose && ! ( test_path ( mandir , NULL ) & TEST_WRITABLE ) ) fprintf ( stderr , " \n " , mandir ) ; }
Tests to see if the given directory can be written to.
Tests to see if the given directory can be written to .