summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-30 15:29:07 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 04:13:10 +0200
commit24d680aa9616d356a29cfbc0c8c010c271311e50 (patch)
tree567f416f08b48eec52acceea4582e38f87a51738
parentc84d69217b2eca09c82cce55e67c436a2dd2929e (diff)
getpw.3: SYNOPSIS: Mark as [[deprecated]]
This function is insecure. Use getpwuid(3). Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/getpw.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/getpw.3 b/man3/getpw.3
index 6a0d8f345..6e5da5a1b 100644
--- a/man3/getpw.3
+++ b/man3/getpw.3
@@ -21,7 +21,7 @@ Standard C library
.B #include <sys/types.h>
.B #include <pwd.h>
.PP
-.BI "int getpw(uid_t " uid ", char *" buf );
+.BI "[[deprecated]] int getpw(uid_t " uid ", char *" buf );
.fi
.SH DESCRIPTION
The