summaryrefslogtreecommitdiff
path: root/usr/src/head
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head')
-rw-r--r--usr/src/head/stdlib.h4
-rw-r--r--usr/src/head/unistd.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/usr/src/head/stdlib.h b/usr/src/head/stdlib.h
index 66a4bb444a..329f654da6 100644
--- a/usr/src/head/stdlib.h
+++ b/usr/src/head/stdlib.h
@@ -23,6 +23,8 @@
* Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
*/
+/* Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. */
+
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
@@ -216,6 +218,7 @@ extern int clearenv(void);
extern void closefrom(int);
extern int daemon(int, int);
extern int dup2(int, int);
+extern int dup3(int, int, int);
extern int fdwalk(int (*)(void *, int), void *);
extern char *qecvt(long double, int, int *, int *);
extern char *qfcvt(long double, int, int *, int *);
@@ -323,6 +326,7 @@ extern int clearenv();
extern void closefrom();
extern int daemon();
extern int dup2();
+extern int dup3();
extern int fdwalk();
extern char *qecvt();
extern char *qfcvt();
diff --git a/usr/src/head/unistd.h b/usr/src/head/unistd.h
index 75078dd318..04725ea56f 100644
--- a/usr/src/head/unistd.h
+++ b/usr/src/head/unistd.h
@@ -26,6 +26,8 @@
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
+/* Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. */
+
#ifndef _UNISTD_H
#define _UNISTD_H
@@ -274,6 +276,7 @@ extern char *cuserid(char *);
#endif
extern int dup(int);
extern int dup2(int, int);
+extern int dup3(int, int, int);
#if defined(_XPG4) || defined(__EXTENSIONS__)
extern void encrypt(char *, int);
#endif /* defined(XPG4) || defined(__EXTENSIONS__) */
@@ -415,6 +418,7 @@ extern int mincore(caddr_t, size_t, char *);
extern long pathconf(const char *, int);
extern int pause(void);
extern int pipe(int *);
+extern int pipe2(int *, int);
#if !defined(_POSIX_C_SOURCE) || defined(_XPG5) || \
(defined(_LARGEFILE_SOURCE) && _FILE_OFFSET_BITS == 64) || \
defined(__EXTENSIONS__)
@@ -608,6 +612,7 @@ extern char *cuserid();
#endif
extern int dup();
extern int dup2();
+extern int dup3();
#if defined(_XPG4) || defined(__EXTENSIONS__)
extern void encrypt();
#endif /* defined(_XPG4) || defined(__EXTENSIONS__) */