[PATCH 02/14] Add a note about portability of environment variable
From: Bastien Roucariès <rouca@debian.org>
Some variables are portable at least under UNIX
Signed-off-by: Bastien Roucariès <rouca@debian.org>
---
man7/environ.7 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/man7/environ.7 b/man7/environ.7
index 7d6318c1a..fe220cc03 100644
--- a/man7/environ.7
+++ b/man7/environ.7
@@ -242,6 +242,16 @@ tell applications about the window size, possibly overriding the actual size.
may specify the desired printer to use.
See
.BR lpr (1).
+.SH CONFORMING TO
+The variables
+.B HOME
+.B LOGNAME,
+.B PATH,
+.B PWD,
+.B SHELL
+are specified by
+POSIX.1-1996
+and should be reasonably portable.
.SH NOTES
The
.BR prctl (2)
--
2.29.2
Reply to: