{"id":4726,"date":"2022-12-20T18:36:49","date_gmt":"2022-12-20T21:36:49","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/nftw-man3p\/"},"modified":"2022-12-20T18:36:49","modified_gmt":"2022-12-20T21:36:49","slug":"nftw-man3p","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/nftw-man3p\/","title":{"rendered":"NFTW (man3p)"},"content":{"rendered":"<h1 align=\"center\">NFTW<\/h1>\n<p> <a href=\"#PROLOG\">PROLOG<\/a><br \/> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#RETURN VALUE\">RETURN VALUE<\/a><br \/> <a href=\"#ERRORS\">ERRORS<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#APPLICATION USAGE\">APPLICATION USAGE<\/a><br \/> <a href=\"#RATIONALE\">RATIONALE<\/a><br \/> <a href=\"#FUTURE DIRECTIONS\">FUTURE DIRECTIONS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>PROLOG <a name=\"PROLOG\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This manual page is part of the POSIX Programmer\u2019s Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.<\/p>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">nftw \u2014 walk a file tree<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">#include <ftw.h><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">int nftw(const char *<i>path<\/i>, int (*<i>fn<\/i>)(const char *, <br \/> const struct stat *, int, struct FTW *), int <i>fd_limit<\/i>, int <i>flags<\/i>);<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>nftw<\/i>() function shall recursively descend the directory hierarchy rooted in <i>path<\/i>. The <i>nftw<\/i>() function has a similar effect to <i>ftw<\/i>() except that it takes an additional argument <i>flags<\/i>, which is a bitwise-inclusive OR of zero or more of the following flags:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>FTW_CHDIR<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"71%\">\n<p>If set, <i>nftw<\/i>() shall change the current working directory to each directory as it reports files in that directory. If clear, <i>nftw<\/i>() shall not change the current working directory.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>FTW_DEPTH<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"71%\">\n<p>If set, <i>nftw<\/i>() shall report all files in a directory before reporting the directory itself. If clear, <i>nftw<\/i>() shall report any directory before reporting the files in that directory.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>FTW_MOUNT<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"71%\">\n<p>If set, <i>nftw<\/i>() shall only report files in the same file system as <i>path<\/i>. If clear, <i>nftw<\/i>() shall report all files encountered during the walk.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p>FTW_PHYS<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"71%\">\n<p>If set, <i>nftw<\/i>() shall perform a physical walk and shall not follow symbolic links.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">If FTW_PHYS is clear and FTW_DEPTH is set, <i>nftw<\/i>() shall follow links instead of reporting them, but shall not report any directory that would be a descendant of itself. If FTW_PHYS is clear and FTW_DEPTH is clear, <i>nftw<\/i>() shall follow links instead of reporting them, but shall not report the contents of any directory that would be a descendant of itself.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">At each file it encounters, <i>nftw<\/i>() shall call the user-supplied function <i>fn<\/i> with four arguments:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"2%\">\n<p style=\"margin-top: 1em\">*<\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"83%\">\n<p style=\"margin-top: 1em\">The first argument is the pathname of the object.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"2%\">\n<p>*<\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"83%\">\n<p>The second argument is a pointer to the <b>stat<\/b> buffer containing information on the object, filled in as if <i>fstatat<\/i>(), <i>stat<\/i>(), or <i>lstat<\/i>() had been called to retrieve the information.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"2%\">\n<p>*<\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"83%\">\n<p>The third argument is an integer giving additional information. Its value is one of the following:<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\">FTW_D<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"16%\"><\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\">\n<p style=\"margin-top: 1em\">The object is a directory.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"16%\">\n<p>FTW_DNR<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\">\n<p>The object is a directory that cannot be read. The <i>fn<\/i> function shall not be called for any of its descendants.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"16%\">\n<p>FTW_DP<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\">\n<p>The object is a directory and subdirectories have been visited. (This condition shall only occur if the FTW_DEPTH flag is included in <i>flags<\/i>.)<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"16%\">\n<p>FTW_F<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\">\n<p>The object is a non-directory file.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"16%\">\n<p>FTW_NS<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\">\n<p>The <i>stat<\/i>() function failed on the object because of lack of appropriate permission. The <b>stat<\/b> buffer passed to <i>fn<\/i> is undefined. Failure of <i>stat<\/i>() for any other reason is considered an error and <i>nftw<\/i>() shall return \u22121.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"16%\">\n<p>FTW_SL<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\">\n<p>The object is a symbolic link. (This condition shall only occur if the FTW_PHYS flag is included in <i>flags<\/i>.)<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"16%\">\n<p>FTW_SLN<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\">\n<p>The object is a symbolic link that does not name an existing file. (This condition shall only occur if the FTW_PHYS flag is not included in <i>flags<\/i>.)<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"16%\">\n<p>*<\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%; margin-top: 1em\">The fourth argument is a pointer to an <b>FTW<\/b> structure. The value of <b>base<\/b> is the offset of the object\u2019s filename in the pathname passed as the first argument to <i>fn<\/i>. The value of <b>level<\/b> indicates depth relative to the root of the walk, where the root level is 0.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The results are unspecified if the application-supplied <i>fn<\/i> function does not preserve the current working directory.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The argument <i>fd_limit<\/i> sets the maximum number of file descriptors that shall be used by <i>nftw<\/i>() while traversing the file tree. At most one file descriptor shall be used for each directory level.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>nftw<\/i>() function need not be thread-safe.<\/p>\n<h2>RETURN VALUE <a name=\"RETURN VALUE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>nftw<\/i>() function shall continue until the first of the following conditions occurs:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"2%\">\n<p style=\"margin-top: 1em\">*<\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"83%\">\n<p style=\"margin-top: 1em\">An invocation of <i>fn<\/i> shall return a non-zero value, in which case <i>nftw<\/i>() shall return that value.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"2%\">\n<p>*<\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"83%\">\n<p>The <i>nftw<\/i>() function detects an error other than <b>[EACCES]<\/b> (see FTW_DNR and FTW_NS above), in which case <i>nftw<\/i>() shall return \u22121 and set <i>errno<\/i> to indicate the error.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"2%\">\n<p>*<\/p>\n<\/td>\n<td width=\"3%\"><\/td>\n<td width=\"83%\">\n<p>The tree is exhausted, in which case <i>nftw<\/i>() shall return 0.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>ERRORS <a name=\"ERRORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>nftw<\/i>() function shall fail if:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p style=\"margin-top: 1em\"><b>EACCES<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Search permission is denied for any component of <i>path<\/i> or read permission is denied for <i>path<\/i>, or <i>fn<\/i> returns \u22121 and does not reset <i>errno<\/i>.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>ELOOP<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>A loop exists in symbolic links encountered during resolution of the <i>path<\/i> argument.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>ENAMETOOLONG<\/b><\/p>\n<p style=\"margin-left:22%;\">The length of a component of a pathname is longer than {NAME_MAX}.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>ENOENT<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>A component of <i>path<\/i> does not name an existing file or <i>path<\/i> is an empty string.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>ENOTDIR<\/b><\/p>\n<p style=\"margin-left:22%;\">A component of <i>path<\/i> names an existing file that is neither a directory nor a symbolic link to a directory.<\/p>\n<p style=\"margin-left:11%;\"><b>EOVERFLOW<\/b><\/p>\n<p style=\"margin-left:22%;\">A field in the <b>stat<\/b> structure cannot be represented correctly in the current programming environment for one or more files found in the file hierarchy.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>nftw<\/i>() function may fail if:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>ELOOP<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>More than {SYMLOOP_MAX} symbolic links were encountered during resolution of the <i>path<\/i> argument.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>EMFILE<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>All file descriptors available to the process are currently open.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>ENAMETOOLONG<\/b><\/p>\n<p style=\"margin-left:22%;\">The length of a pathname exceeds {PATH_MAX}, or pathname resolution of a symbolic link produced an intermediate result with a length that exceeds {PATH_MAX}.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>ENFILE<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"73%\">\n<p>Too many files are currently open in the system.<\/p>\n<\/td>\n<td width=\"5%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">In addition, <i>errno<\/i> may be set if the function pointed to by <i>fn<\/i> causes <i>errno<\/i> to be set.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>The following sections are informative.<\/i><\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following program traverses the directory tree under the path named in its first command-line argument, or under the current directory if no argument is supplied. It displays various information about each file. The second command-line argument can be used to specify characters that control the value assigned to the <i>flags<\/i> argument when calling <i>nftw<\/i>().<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">#include <ftw.h> <br \/> #include <stdio.h> <br \/> #include <stdlib.h> <br \/> #include <string.h> <br \/> #include <stdint.h><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">static int <br \/> display_info(const char *fpath, const struct stat *sb, <br \/> int tflag, struct FTW *ftwbuf) <br \/> { <br \/> printf(&#8220;%-3s %2d %7jd %-40s %d %sn&#8221;, <br \/> (tflag == FTW_D) ? &#8220;d&#8221; : (tflag == FTW_DNR) ? &#8220;dnr&#8221; : <br \/> (tflag == FTW_DP) ? &#8220;dp&#8221; : (tflag == FTW_F) ? <br \/> (S_ISBLK(sb->st_mode) ? &#8220;f b&#8221; : <br \/> S_ISCHR(sb->st_mode) ? &#8220;f c&#8221; : <br \/> S_ISFIFO(sb->st_mode) ? &#8220;f p&#8221; : <br \/> S_ISREG(sb->st_mode) ? &#8220;f r&#8221; : <br \/> S_ISSOCK(sb->st_mode) ? &#8220;f s&#8221; : &#8220;f ?&#8221;) : <br \/> (tflag == FTW_NS) ? &#8220;ns&#8221; : (tflag == FTW_SL) ? &#8220;sl&#8221; : <br \/> (tflag == FTW_SLN) ? &#8220;sln&#8221; : &#8220;?&#8221;, <br \/> ftwbuf->level, (intmax_t) sb->st_size, <br \/> fpath, ftwbuf->base, fpath + ftwbuf->base); <br \/> return 0; \/bin \/boot \/dead.letter \/dev \/etc \/home \/initrd \/lib \/lib64 \/lost+found \/media \/mnt \/opt \/proc \/release-notes.html \/release-notes.txt \/root \/run \/sbin \/srv \/sys \/tmp \/usr \/var To tell nftw() to continue bodies\/ usr\/ <br \/> }<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">int <br \/> main(int argc, char *argv[]) <br \/> { <br \/> int flags = 0;<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">if (argc > 2 &#038;&#038; strchr(argv[2], &#8216;d&#8217;) != NULL) <br \/> flags |= FTW_DEPTH; <br \/> if (argc > 2 &#038;&#038; strchr(argv[2], &#8216;p&#8217;) != NULL) <br \/> flags |= FTW_PHYS;<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">if (nftw((argc < 2) ? \".\" : argv[1], display_info, 20, flags) == -1) <br \/> { <br \/> perror(&#8220;nftw&#8221;); <br \/> exit(EXIT_FAILURE); <br \/> }<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">exit(EXIT_SUCCESS); <br \/> }<\/p>\n<h2>APPLICATION USAGE <a name=\"APPLICATION USAGE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>nftw<\/i>() function may allocate dynamic storage during its operation. If <i>nftw<\/i>() is forcibly terminated, such as by <i>longjmp<\/i>() or <i>siglongjmp<\/i>() being executed by the function pointed to by <i>fn<\/i> or an interrupt routine, <i>nftw<\/i>() does not have a chance to free that storage, so it remains permanently allocated. A safe way to handle interrupts is to store the fact that an interrupt has occurred, and arrange to have the function pointed to by <i>fn<\/i> return a non-zero value at its next invocation.<\/p>\n<h2>RATIONALE <a name=\"RATIONALE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">None.<\/p>\n<h2>FUTURE DIRECTIONS <a name=\"FUTURE DIRECTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">None.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>fdopendir<\/i>(), <i>fstatat<\/i>(), <i>readdir<\/i>()<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The Base Definitions volume of POSIX.1-2017, <b><ftw.h><\/b><\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology &#8212; Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http:\/\/www.opengroup.org\/unix\/online.html .<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https:\/\/www.kernel.org\/doc\/man-pages\/reporting_bugs.html .<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  nftw \u2014 walk a file tree <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3779,1],"tags":[1594,1647],"class_list":["post-4726","post","type-post","status-publish","format-standard","hentry","category-3pm-perl-llamadas-de-bibliotecas","category-sin-categoria","tag-man3p","tag-nftw"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4726"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4726\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}