aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-05-17 07:56:17 +0200
committerAlejandro Colomar <alx@kernel.org>2025-10-29 12:26:37 +0100
commitbcc925e3044afcf96afea5bde2fe0b51165026cb (patch)
treed1207260928f704dcfe4720014bd552248b0bbfa
parent669f6a75cb68ebde566576106114785df38faeac (diff)
downloadman-pages-bcc925e3044afcf96afea5bde2fe0b51165026cb.tar.gz
man/man7/pathname.7: VERSIONS: Linux doesn't disallow new-line characters
POSIX.1-2024 encourages implementations to disallow new-line characters, but Linux doesn't follow that. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man7/pathname.75
1 files changed, 5 insertions, 0 deletions
diff --git a/man/man7/pathname.7 b/man/man7/pathname.7
index 3cdc367d81..438e4ce16e 100644
--- a/man/man7/pathname.7
+++ b/man/man7/pathname.7
@@ -68,6 +68,11 @@ characters in the POSIX
.UR https://pubs.opengroup.org/\:onlinepubs/\:9799919799/\:basedefs/\:V1_chap03.html#tag_03_265
Portable Filename Character Set
.UE .
+.SH VERSIONS
+POSIX.1-2024 encourages implementations to
+disallow creation of filenames containing new-line characters.
+Linux doesn't follow this,
+and allows using new-line characters.
.SH SEE ALSO
.BR limits.h (0p),
.BR open (2),