summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-03-11 11:18:25 +0000
committerpeter <peter@FreeBSD.org>1997-03-11 11:18:25 +0000
commitf635e3d3fe547173e7c723038996fbe151718b1d (patch)
treea2ee023f0db7f97a5067073e35d93900829ddfee /include/unistd.h
parent9eaf75f7d002f77d3fdcfb660e84805f29c75199 (diff)
downloadFreeBSD-src-f635e3d3fe547173e7c723038996fbe151718b1d.zip
FreeBSD-src-f635e3d3fe547173e7c723038996fbe151718b1d.tar.gz
Merge Lite2 changes -
move getopt etc declarations from stdlib.h to unistd.h
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 7428f5d..f16c34b 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)unistd.h 8.10 (Berkeley) 4/16/94
+ * @(#)unistd.h 8.12 (Berkeley) 4/27/95
*/
#ifndef _UNISTD_H_
@@ -95,6 +95,10 @@ char *ttyname __P((int));
int unlink __P((const char *));
ssize_t write __P((int, const void *, size_t));
+extern char *optarg; /* getopt(3) external variables */
+extern int optind, opterr, optopt;
+int getopt __P((int, char * const [], const char *));
+
#ifndef _POSIX_SOURCE
#ifdef __STDC__
struct timeval; /* select(2) */
@@ -169,9 +173,13 @@ off_t __syscall __P((quad_t, ...));
int truncate __P((const char *, off_t));
int ttyslot __P((void));
unsigned int ualarm __P((unsigned int, unsigned int));
+int unwhiteout __P((const char *));
void usleep __P((unsigned int));
void *valloc __P((size_t)); /* obsoleted by malloc() */
pid_t vfork __P((void));
+
+extern char *suboptarg; /* getsubopt(3) external variable */
+int getsubopt __P((char **, char * const *, char **));
#endif /* !_POSIX_SOURCE */
__END_DECLS
OpenPOWER on IntegriCloud