+ Addition of function prototypes. + Change function definitions to ANSI C style. + Initial support for CMake + Added support for sys_tmpdir for better portability.
13 lines
299 B
C
13 lines
299 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 <sys/stat.h>
|
|
#include "system.h"
|
|
|
|
int sys_chmode(char* path,int mode)
|
|
{
|
|
return chmod(path, (mode_t)mode) == 0;
|
|
}
|