pkg://XITE-3.3-3.i386.rpm:4505295/
usr/
xite/
include/xite_unistd.h
info downloads
/*
________________________________________________________________
xite_unistd.h
$Id: xite_unistd.h,v 1.7 1997/03/24 10:56:01 svein Exp $
Copyright 1990, Blab, UiO
Image processing lab, Department of Informatics
University of Oslo
E-mail: blab@ifi.uio.no
________________________________________________________________
Permission to use, copy, modify and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that this copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in supporting
documentation and that the name of B-lab, Department of Informatics or
University of Oslo not be used in advertising or publicity pertaining
to distribution of the software without specific, written prior permission.
B-LAB DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL B-LAB
BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* Author: Svein Bøe, BLAB, Ifi, UiO */
#ifndef _XITE_UNISTD_H_
#define _XITE_UNISTD_H_
_XITE_CPLUSPLUS_BEGIN
#include <sys/param.h>
#include <unistd.h>
#if defined(SunOSSun3) || defined(SunOS) || defined(ULTRIX)
char *getwd _XITE_PARAMS(( char *pathname ));
#endif
#if defined(SunOS5)
/* These declarations are needed because the source is compiled and linked
* in BSD compatibility mode.
* The declarations are taken from SunOS 4.
*/
/* In <unistd.h> if not BSD mode. */
void _exit _XITE_PARAMS(( int status ));
int access _XITE_PARAMS(( char *path, int amode ));
int chdir _XITE_PARAMS(( char *path ));
int close _XITE_PARAMS(( int fildes ));
int execlp _XITE_PARAMS(( char *file, ... ));
int execvp _XITE_PARAMS(( char *file, char *argv[] ));
int fork _XITE_PARAMS(( void ));
int getpid _XITE_PARAMS(( void ));
int getuid _XITE_PARAMS(( void ));
int link _XITE_PARAMS(( char *existing, char *new ));
int pipe _XITE_PARAMS(( int fildes[2] ));
int read _XITE_PARAMS(( int fildes, char *buf, int nbyte ));
int sleep _XITE_PARAMS(( unsigned seconds ));
int unlink _XITE_PARAMS(( char *path ));
int write _XITE_PARAMS(( int fildes, char *buf, int nbyte ));
/* In <fcntl.h> if not BSD mode. */
int creat _XITE_PARAMS(( char *path, int mode ));
int open _XITE_PARAMS(( char *path, int oflag, /* mode_t mode */ ... ));
/* In <signal.h> if not BSD mode. */
int kill _XITE_PARAMS(( int pid, int sig ));
#endif
#if defined(SYSTEM_V)
# ifndef getwd
# define getwd(path) getcwd(path, MAXPATHLEN)
# endif
#endif
_XITE_CPLUSPLUS_END
#endif /* _XITE_UNISTD_H_ */