getconf path_var pathname
2 ╚╓╠▄ñ╬╖┴╝░ñ╟ñ╧íógetconf ѵí╝Ñ╞ÑúÑΩÑ╞Ñúñ╧íópathname ѬÑ┌ÑΘÑ≤Ñ╔ñ╟╗╪─Ωñ╡ñ∞ñ┐Ñ╤Ñ╣ñ≥┬╨╛▌ñ╚ñ╖ñ╞íópath_var ѬÑ┌ÑΘÑ≤Ñ╔ñ╟╗╪─Ωñ╡ñ∞ñ┐╩╤┐⌠ñ╬├═ñ≥╔╕╜α╜╨╬╧ñ╦╜±ñ¡╜╨ñ╖ñ▐ñ╣íú
│╞╣╜└«╩╤┐⌠ñ╬├═ñ╧íóñ╜ñ╬├═ñ≥╗╚═╤ñ╟ñ¡ñδñ╚─Ω╡┴ñ╡ñ∞ñ┐┤╪┐⌠ñ≥╕╞ñ╙╜╨ñ╖ñ╞╞└ñΘñ∞ñ┐ñ½ñ╬ñΦñªñ╦╖Φ─Ωñ╡ñ∞ñ▐ñ╣íúñ│ñ╬├═ñ╧íó╕╜║▀ñ╬┴α║ε┤─╢¡ñ╟ñ╬╛⌡┬╓ñ≥╚┐▒╟ñ╖ñ▐ñ╣íú
LINK_MAN | NAME_MAX | POSIX_CHOWN_RESTRICTED |
MAX_CANON | PATH_MAX | POSIX_NO_TRUNC |
MAX_INPUT | PIPE_BUF | POSIX_VDISABLE |
LINK_MAN NAME_MAX POSIX_CHOWN_RESTRICTED MAX_CANON PATH_MAX POSIX_NO_TRUNC MAX_INPUT PIPE_BUF POSIX_VDISABLE
ARG_MAX ATEXIT_MAX BC_BASE_MAX | ||
BC_DIM_MAX BC_SCALE_MAX BC_STRING_MAX | ||
CHARCLASS_NAME_MAX CHAR_BIT CHAR_MAX | ||
CHAR_MIN CHILD_MAX CLK_TCK | ||
COLL_WEIGHTS_MAX CS_PATH EXPR_NEST_MAX | ||
INT_MAX INT_MIN IOU_MAX | ||
LINE_MAX LONG_BIT LONG_MAX | ||
LONG_MIN MB_LEN_MAX MN_NMAX | ||
NGROUPS_MAX NL_ARGMAX NL_LANGMAX | ||
NL_MSGMAX NL_SETMAX NL_TEXTMAX | ||
NZERO OPEN_MAX PAGESIZE | ||
POSIX2_BC_BASE_MAX POSIX2_BC_DIM_MAX POSIX2_BC_SCALE_MAX | ||
POSIX2_BC_STRING_MAX POSIX2_BIND POSIX2_CHAR_TERM | ||
POSIX2_COLL_WEIGHTS_MAX POSIX2_C_DEV POSIX2_C_VERSION | ||
POSIX2_EXPR_NEST_MAX POSIX2_FORT_DEV POSIX2_FORT_RUN | ||
POSIX2_LINE_MAX POSIX2_LOCALEDEF POSIX2_RE_DUP_MAX | ||
POSIX2_SW_DEV POSIX2_UPE POSIX2_VERSION | ||
POSIX_ARG_MAX POSIX_CHILD_MAX POSIX_JOB_CONTROL | ||
POSIX_LINK_MAX POSIX_MAX_CANON POSIX_MAX_INPUT | ||
POSIX_NAME_MAX POSIX_NGROUPS_MAX POSIX_OPEN_MAX | ||
POSIX_PATH_MAX POSIX_PIPE_BUF POSIX_SAVED_IDS | ||
POSIX_SSIZE_MAX POSIX_STREAM_MAX POSIX_TZNAME_MAX | ||
POSIX_VERSION RE_DUP_MAX SCHAR_MAX | ||
SCHAR_MIN SHRT_MAX SHRT_MIN | ||
SSIZE_MAX STREAM_MAX TMP_MAX | ||
TZNAME_MAX UCHAR_MAX UINT_MAX | ||
ULONG_MAX USHRT_MAX WORD_BIT | ||
_XOPEN_CRYPT _XOPEN_ENH_I18N _XOPEN_SHM | ||
_XOPEN_UNIX _XOPEN_VERSION _XOPEN_XCU_VERSION | ||
_XOPEN_XPG2 _XOPEN_XPG3 _XOPEN_XPG4 |
ARG_MAX ATEXIT_MAX BC_BASE_MAX BC_DIM_MAX BC_SCALE_MAX BC_STRING_MAX CHARCLASS_NAME_MAX CHAR_BIT CHAR_MAX CHAR_MIN CHILD_MAX CLK_TCK COLL_WEIGHTS_MAX CS_PATH EXPR_NEST_MAX INT_MAX INT_MIN IOU_MAX LINE_MAX LONG_BIT LONG_MAX LONG_MIN MB_LEN_MAX MN_NMAX NGROUPS_MAX NL_ARGMAX NL_LANGMAX NL_MSGMAX NL_SETMAX NL_TEXTMAX NZERO OPEN_MAX PAGESIZE POSIX2_BC_BASE_MAX POSIX2_BC_DIM_MAX POSIX2_BC_SCALE_MAX POSIX2_BC_STRING_MAX POSIX2_BIND POSIX2_CHAR_TERM POSIX2_COLL_WEIGHTS_MAX POSIX2_C_DEV POSIX2_C_VERSION POSIX2_EXPR_NEST_MAX POSIX2_FORT_DEV POSIX2_FORT_RUN POSIX2_LINE_MAX POSIX2_LOCALEDEF POSIX2_RE_DUP_MAX POSIX2_SW_DEV POSIX2_UPE POSIX2_VERSION POSIX_ARG_MAX POSIX_CHILD_MAX POSIX_JOB_CONTROL POSIX_LINK_MAX POSIX_MAX_CANON POSIX_MAX_INPUT POSIX_NAME_MAX POSIX_NGROUPS_MAX POSIX_OPEN_MAX POSIX_PATH_MAX POSIX_PIPE_BUF POSIX_SAVED_IDS POSIX_SSIZE_MAX POSIX_STREAM_MAX POSIX_TZNAME_MAX POSIX_VERSION RE_DUP_MAX SCHAR_MAX SCHAR_MIN SHRT_MAX SHRT_MIN SSIZE_MAX STREAM_MAX TMP_MAX TZNAME_MAX UCHAR_MAX UINT_MAX ULONG_MAX USHRT_MAX WORD_BIT _XOPEN_CRYPT _XOPEN_ENH_I18N _XOPEN_SHM _XOPEN_UNIX _XOPEN_VERSION _XOPEN_XCU_VERSION _XOPEN_XPG2 _XOPEN_XPG3 _XOPEN_XPG4
Ñ╖Ñ≤Ñ▄Ñδ PATH ñΓ╟º╝▒ñ╡ñ∞íóconfstr ╠╛ñ╬ CS_PATH ├═ñ╚╞▒ñ╕├═ñ¼╞└ñΘñ∞ñ▐ñ╣íú
"%s\n", <value>
ñ╜ñªñ╟ñ╧ñ╩ñ»íó╗╪─Ωñ╡ñ∞ñ┐╩╤┐⌠ñ¼Ñ╖Ñ╣Ñ╞Ñαñ╟─Ω╡┴ñ╡ñ∞ñ╞ñññδ╛∞╣τíóñ╜ñ╬├═ñ╧╝íñ╬╖┴╝░ñ╟╜±ñ¡╣■ñ▐ñ∞ñ▐ñ╣íúíí
"%d\n", <value>
╗╪─Ωñ╡ñ∞ñ┐╩╤┐⌠ñ¼═¡╕·ñ╟ñóñ├ñ╞ñΓíóÑ╖Ñ╣Ñ╞Ñαñ╟╠ñ─Ω╡┴ñ╟ñóñδ╛∞╣τíó╝íñ╬╖┴╝░ñ≥╗╚═╤ñ╖ñ╞╜±ñ¡╣■ñ▐ñ∞ñ▐ñ╣íú
"undefined\n"
╩╤┐⌠╠╛ñ¼╠╡╕·ñ╟ñóñδñ½íóÑ¿ÑΘí╝ñ¼╡»ñ│ñ├ñ┐╛∞╣τíó╔╕╜α╜╨╬╧ñ╦ñ╧▓┐ñΓ╜±ñ¡╣■ñ▐ñ∞ñ▐ñ╗ñ≤íú
ñ│ñ╬╬πñ╟ñ╧íó╞├─Ωñ╬Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩñ╬ {NAME_MAX} ñ╬├═ñ≥╝¿ñ╖ñ▐ñ╣íú
getcon NAME_MAX /usr
ñ│ñ╬╬πñ╧íó╗╪─Ωñ╡ñ∞ñ╞ñññ╩ññ▓─╟╜└¡ñ╬ñóñδ╖δ▓╠ñ≥├φ░╒┐╝ñ»░╖ñª╩²╦íñ≥╝¿ñ╖ñ▐ñ╣íú
if value=$(getconf PATH_MAX /usr); then if ["$value" = "undefined"]; then echo PATH_MAX in /usr is infinite. else echo PATH_MAX in /usr is $value. fi else echo Error in getconf. fi
ñ╩ñ¬íó
sysconf(_SC_POSIX_C_BIND);ñ╚
system("getconf POSIX2_C_BIND");C ñ╬Ñ╫ÑφÑ░ÑΘÑαñ╟ñ╧ sysconf ñ╚ system ñ╬┼·ñ╧░█ñ╩ñδñ│ñ╚ñ¼ñóñΩñ▐ñ╣íú┴░╝╘ñ╟ñ╧íó╜Φ═²╖╧ñ╦▒■ñ╕ñ╞Ñ╫ÑφÑ░ÑΘÑαñ¼Ñ│Ñ≤Ñ╤ÑñÑδñ▐ñ┐ñ╧╝┬╣╘ñ╡ñ∞ñ┐ñ╚ñ¡íó╛≥╖∩ñ╦┬╨▒■ñ╣ñδ├═ñ¼╞└ñΘñ∞ñ▐ñ╣íú╕σ╝╘ñ╟ñ╧íó╛∩ñ╦Ñ╫ÑφÑ░ÑΘÑαñ¼╝┬╣╘ñ╡ñ∞ñ┐ñ╚ñ¡ñ╬╛≥╖∩ñ╦┬╨▒■ñ╣ñδ├═ñ¼╞└ñΘñ∞ñ▐ñ╣íú