This silences some clang warnings of implicit declarations of functions. The `register int` silences a warning of implicit int.
16 lines
305 B
C
16 lines
305 B
C
/*
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
*/
|
|
/* $Id$ */
|
|
|
|
#include <unistd.h>
|
|
#include "system.h"
|
|
|
|
int
|
|
sys_access(path, mode)
|
|
char *path;
|
|
int mode;
|
|
{
|
|
return access(path, mode) == 0;
|
|
}
|