summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-30 14:54:03 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 04:07:53 +0200
commitda06f672fb81b5d6da7eeb43f14db32753f26a93 (patch)
tree93de76aa1fb47224cc3d1679e9122ecb21b01ea9
parent745d83bd6f98891667764d029fc4b82188274bbe (diff)
ftw.3: SYNOPSIS: Mark ftw() as [[deprecated]]
Use nftw(3) instead. ftw(3) has issues with [sig]longjmp(3). Link: <https://stackoverflow.com/q/19617783/6872717> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/ftw.31
1 files changed, 1 insertions, 0 deletions
diff --git a/man3/ftw.3 b/man3/ftw.3
index 5dfe839c7..505a75522 100644
--- a/man3/ftw.3
+++ b/man3/ftw.3
@@ -29,6 +29,7 @@ Standard C library
.BI " int " typeflag ", struct FTW *" ftwbuf ),
.BI " int " nopenfd ", int " flags );
.PP
+.B [[deprecated]]
.BI "int ftw(const char *" dirpath ,
.BI " int (*" fn ")(const char *" fpath ", const struct stat *" sb ,
.BI " int " typeflag ),