diff options
author | Karel Zak <kzak@redhat.com> | 2012-04-23 13:52:41 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2012-04-23 13:58:39 +0200 |
commit | be92327e712a0371d7f5d45b5e4bfc5631371114 (patch) | |
tree | 643ffc3bbcacb34b56e824f4208052f7fc678815 /include/fileutils.h | |
parent | 10610816191a7c8c75f184b5ba26861bd5b89d5d (diff) | |
download | util-linux-be92327e712a0371d7f5d45b5e4bfc5631371114.tar.gz |
lib/fileutils: add get_fd_tabsize()
as a fallback for the function getdtablesize()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/fileutils.h')
-rw-r--r-- | include/fileutils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/fileutils.h b/include/fileutils.h index 691429ba..33aba0a0 100644 --- a/include/fileutils.h +++ b/include/fileutils.h @@ -17,4 +17,7 @@ static inline FILE *xfmkstemp(char **tmpname) } return ret; } -#endif + +extern int get_fd_tabsize(void); + +#endif /* UTIL_LINUX_FILEUTILS */ |