Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Expose getsid(2) to POSIX >= 2008
details: https://anonhg.NetBSD.org/src/rev/33d91456a2e7
branches: trunk
changeset: 1008696:33d91456a2e7
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Mar 31 16:49:06 2020 +0000
description:
Expose getsid(2) to POSIX >= 2008
diffstat:
include/unistd.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 2fc667cb14fb -r 33d91456a2e7 include/unistd.h
--- a/include/unistd.h Tue Mar 31 16:34:25 2020 +0000
+++ b/include/unistd.h Tue Mar 31 16:49:06 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.154 2019/09/15 23:41:41 christos Exp $ */
+/* $NetBSD: unistd.h,v 1.155 2020/03/31 16:49:06 kamil Exp $ */
/*-
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -235,6 +235,8 @@
__aconst char *crypt(const char *, const char *);
int encrypt(char *, int);
char *getpass(const char *);
+#endif
+#if (_POSIX_C_SOURCE - 0) >= 200809L || defined(_NETBSD_SOURCE)
pid_t getsid(pid_t);
#endif
Home |
Main Index |
Thread Index |
Old Index