/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2001 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984 AT&T */
/* All Rights Reserved */
#ifndef _BC_SYS_UNISTD_H
#define _BC_SYS_UNISTD_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#define STDIN_FILENO 0
#ifndef NULL
#define NULL 0
#endif
#ifndef _POSIX_SOURCE
/*
* SVID lockf() requests
*/
/* Path names: */
#endif /* !_POSIX_SOURCE */
/*
* lseek & access args
*
*/
#ifndef SEEK_SET
#endif
extern void _exit(int);
extern int access(char *, int);
extern unsigned alarm(unsigned);
extern int chdir(char *);
extern int close(int);
extern char *ctermid(char *);
extern char *cuserid(char *);
extern int dup(int);
extern int dup2(int, int);
extern int execl(char *, ...);
extern int execle(char *, ...);
extern int execlp(char *, ...);
extern int execv(char *, char *[]);
extern int execve(char *, char *[], char *[]);
extern int execvp(char *, char *[]);
extern long fpathconf(int, int);
extern char *getcwd(char *, int);
extern char *getlogin(void);
extern int isatty(int);
extern int link(char *, char *);
extern long pathconf(char *, int);
extern int pause(void);
extern int pipe(int [2]);
extern int read(int, char *, int);
extern int rmdir(char *);
extern unsigned sleep(unsigned int);
extern long sysconf(int);
extern char *ttyname(int);
extern int unlink(char *);
extern int write(int, char *, int);
#ifdef __cplusplus
}
#endif
#endif /* _BC_SYS_UNISTD_H */