Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-31 07:47:15 +01:00
parent 2f7623ff06
commit f2dd830c7b
+10
View File
@@ -7,6 +7,16 @@
* Be nice to the demon.
*/
/*
TODO: putting it here just so it's somewhere:
PATH_MAX is not reliable as a limit for paths,
because the real length depends on mount point,
and specific file systems.
more correct usage example:
long max = pathconf("/", _PC_PATH_MAX);
*/
#include <sys/types.h>
#include <sys/stat.h>