/* 
 * $Id: sunos_proto.h,v 1.3 1993/11/08 16:50:12 ejb Exp $
 * $Source: /home/ejb/source/util/include/RCS/sunos_proto.h,v $
 * $Author: ejb $
 *
 * This file contains prototypes for standard functions that are not
 * declared in sun header files.
 */

#ifndef __SUNOS_PROTO_H__
#define __SUNOS_PROTO_H__

#if !defined(lint) && !defined(CODECENTER) || defined(RCS_HDRS)
/* Define a static function and call it.  No warnings this way. */
static void rcsid_sunos_proto_h(char *s)
{rcsid_sunos_proto_h("@(#)$Id: sunos_proto.h,v 1.3 1993/11/08 16:50:12 ejb Exp $");}
#endif /* !lint && !CODECENTER || RCS_HDRS */

#include <stdio.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/timeb.h>
#include <sys/types.h>          /* for fd_set, key_t, off_t */
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/msg.h>
#include <sys/vfs.h>
#include <sys/resource.h>
#include <signal.h>

int adjtime(struct timeval *, struct timeval *);
void bcopy(char *, char *, int);
void bzero(char *, int);
void closelog(void);
double exp10(double);
double exp2(double);
int fchmod(int, int);
int fclose(FILE *);
int fwrite(char *, int, int, FILE *);
int fflush(FILE *);
int fscanf(FILE *, char *, ...);
int fprintf(FILE *, char *, ...);
int fread(char *, int, int, FILE*);
int fsync(int);
int ftime(struct timeb *);
int ftruncate(int, off_t);
char * getenv(char *);
int fwrite(char *, int, int, FILE*);
int gethostname(char *, int);
int getopt(int, char **, char *);
int getpagesize(void);
int getpgr(int pid);
int getpid(void);
int gettimeofday(struct timeval *, struct timezone *);
double infinity(void);
int ioctl(int, int, void *);
int killpg(int pgrp, int sig);
int lstat(char *, struct stat *);
int msgctl(int, int, struct msqid_ds *);
int msgget(key_t, int);
int msgrcv(int, struct msgbuf *, int, long, int);
int msgsnd(int, struct msgbuf *, int, int);
int nice(int);
void openlog(char *, int, int);
int perror(char *);
int printf(char *, ...);
int putenv(char *);
int puts(char *);
int readlink(char *, char *, int);
int rename(char *, char *);
int rewind(FILE *);
double quiet_nan(long);
int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
int semget(key_t, int, int);
int setegid(int);
int seteuid(int);
void setlogmask(int);
int setpgrp(int, int);
int settimeofday(struct timeval *, struct timezone *);
char *shmat(int, char *, int);
int shmctl(int, int, struct shmid_ds *);
int shmdt(char *);
int shmget(key_t, int, int);
int sigblock(int);
int sigpause(int);
int sigvec(int, struct sigvec *, struct sigvec *);
int sigsetmask(int);
int sscanf(char *, char *, ...);
int statfs(char *, struct statfs *);
int strcasecmp(char *, char *);
void strftime(char *, int, char *, struct tm *);
long strtol(char *, char **, int);
int symlink(char *, char *);
void syslog(int, char *,...);
int system(char *);
int tell(int);
time_t time(time_t *);
char toupper(char);
int truncate(char *, off_t);
int ualarm(int);
long ulimit(int, long);
void usleep(unsigned);
char *valloc(unsigned);
int vfprintf(FILE *, const char *, ...);
int wait3(int *, int, struct rusage *);

#endif /* __SUNOS_PROTO_H__ */
