Searched refs:PATH_MAX (Results 1 - 25 of 434) sorted by relevance

1234567891011>>

/macosx-10.10.1/bash-94.1.2/bash-3.2/include/
H A Dmaxpath.h1 /* maxpath.h - Find out what this system thinks PATH_MAX and NAME_MAX are. */
30 /* If PATH_MAX is not defined, look for MAXPATHLEN */
31 #if !defined (PATH_MAX)
36 # if defined (MAXPATHLEN) && !defined (PATH_MAX)
37 # define PATH_MAX MAXPATHLEN macro
38 # endif /* MAXPATHLEN && !PATH_MAX */
39 #endif /* !PATH_MAX */
52 #if !defined (PATH_MAX) && defined (_POSIX_PATH_MAX)
53 # define PATH_MAX _POSIX_PATH_MAX macro
62 #if !defined (PATH_MAX)
63 # define PATH_MAX macro
71 # undef PATH_MAX macro
72 # define PATH_MAX macro
[all...]
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dpathmax.h1 /* Define PATH_MAX somehow. Requires sys/types.h.
29 # if !defined PATH_MAX && defined _PC_PATH_MAX
30 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ macro
35 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
39 # if !defined PATH_MAX && defined MAXPATHLEN
40 # define PATH_MAX MAXPATHLEN macro
43 # ifndef PATH_MAX
44 # define PATH_MAX _POSIX_PATH_MAX macro
H A Dchdir-long.h23 #ifndef PATH_MAX
25 # define PATH_MAX MAXPATHLEN macro
29 /* On systems without PATH_MAX, presume that chdir accepts
31 #ifndef PATH_MAX
/macosx-10.10.1/libiconv-42/libiconv/srclib/
H A Dpathmax.h1 /* Define PATH_MAX somehow. Requires sys/types.h.
24 PATH_MAX but might cause redefinition warnings when sys/param.h is
34 # if !defined PATH_MAX && defined _PC_PATH_MAX
35 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ macro
40 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
44 # if !defined PATH_MAX && defined MAXPATHLEN
45 # define PATH_MAX MAXPATHLEN macro
48 # ifndef PATH_MAX
49 # define PATH_MAX _POSIX_PATH_MAX macro
/macosx-10.10.1/text_cmds-88/sort/
H A Dpathmax.h1 /* Define PATH_MAX somehow. Requires sys/types.h.
29 # if !defined PATH_MAX && defined _PC_PATH_MAX
30 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 \ macro
35 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
39 # if !defined PATH_MAX && defined MAXPATHLEN
40 # define PATH_MAX MAXPATHLEN macro
43 # ifndef PATH_MAX
44 # define PATH_MAX _POSIX_PATH_MAX macro
/macosx-10.10.1/groff-38/groff/src/libs/libgroff/
H A Dmaxpathname.cpp50 #ifndef PATH_MAX
52 # define PATH_MAX MAXPATHLEN macro
55 # define PATH_MAX MAX_PATH macro
58 # define PATH_MAX _MAX_PATH macro
60 # define PATH_MAX 255 macro
64 #endif /* !PATH_MAX */
68 return PATH_MAX;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/include/ac/
H A Dparam.h28 # if defined(PATH_MAX)
29 # define MAXPATHLEN PATH_MAX
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/comp/
H A Dgetwd.c34 if (getcwd(path, PATH_MAX)) return(path);
H A Drealpath.c47 return resolvepath(file, path, PATH_MAX) > 0 ? path : (char*)0;
/macosx-10.10.1/lukemftp-14/tnftp/libnetbsd/
H A Ddirname.c47 static char result[PATH_MAX];
72 if (len > (PATH_MAX - 1))
73 len = PATH_MAX - 1;
/macosx-10.10.1/WTF-7600.1.24/wtf/gobject/
H A DGlibUtilities.cpp34 static char readLinkBuffer[PATH_MAX];
35 ssize_t result = readlink("/proc/self/exe", readLinkBuffer, PATH_MAX);
48 static char readLinkBuffer[PATH_MAX];
49 ssize_t result = readlink("/proc/curproc/file", readLinkBuffer, PATH_MAX);
/macosx-10.10.1/autofs-246/headers/
H A Dautofs_types.h34 typedef char autofs_pathname[PATH_MAX+1];
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/path/
H A Dpathcd.c35 #undef PATH_MAX macro
37 #define PATH_MAX 16 macro
44 if (strlen(path) >= PATH_MAX)
86 if ((n = strlen(p)) < PATH_MAX)
107 s = p + PATH_MAX;
124 if ((n -= s - p) < PATH_MAX)
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Drealpath.c45 * char *realpath(const char *path, char resolved[PATH_MAX]);
52 realpath(const char *path, char resolved[PATH_MAX])
59 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX];
71 if (getcwd(resolved, PATH_MAX) == NULL) {
72 strlcpy(resolved, ".", PATH_MAX);
78 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) {
103 if (resolved_len + 1 >= PATH_MAX) {
133 resolved_len = strlcat(resolved, next_token, PATH_MAX);
[all...]
/macosx-10.10.1/Libc-1044.1.2/util/
H A Dopendev.c81 if (snprintf(namebuf, PATH_MAX, "%s%s%s",
82 _PATH_DEV, prefix, path) < PATH_MAX) {
93 if (snprintf(namebuf, PATH_MAX, "%s%s%s",
94 _PATH_DEV, prefix, path) < PATH_MAX) {
106 namebuf = malloc(PATH_MAX);
/macosx-10.10.1/libxml2-26/libxml2/
H A DtestModule.c26 #define PATH_MAX _MAX_PATH macro
33 #ifndef PATH_MAX
35 #define PATH_MAX _POSIX_PATH_MAX macro
37 #define PATH_MAX 4096 macro
44 xmlChar filename[PATH_MAX];
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/
H A DtestModule.c26 #define PATH_MAX _MAX_PATH macro
33 #ifndef PATH_MAX
35 #define PATH_MAX _POSIX_PATH_MAX macro
37 #define PATH_MAX 4096 macro
44 xmlChar filename[PATH_MAX];
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/misc/
H A Dfindlib.h69 char path[PATH_MAX];
70 char temp[PATH_MAX];
84 char path[PATH_MAX];
85 char mark[PATH_MAX];
86 char file[PATH_MAX];
87 char temp[PATH_MAX];
H A Dprocrun.c44 char buf[PATH_MAX];
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dpathphys.c79 char tbuf[PATH_MAX+1], linkbuf[PATH_MAX+1];
87 if (linklen >= PATH_MAX)
92 q = result = (char *)xmalloc (PATH_MAX + 1);
94 /* Even if we get something longer than PATH_MAX, we might be able to
96 if (linklen >= PATH_MAX)
100 workpath = (char *)xmalloc (PATH_MAX + 1);
152 if (q - result >= PATH_MAX)
167 linklen = _path_readlink (result, linkbuf, PATH_MAX);
192 /* If the new path length would overrun PATH_MAX, pun
[all...]
/macosx-10.10.1/curl-83.1.2/curl/src/
H A Dtool_doswin.c68 # undef PATH_MAX macro
69 # define PATH_MAX MAX_PATH macro
103 char new_name[PATH_MAX];
108 if(strlen(file_name) >= PATH_MAX)
109 file_name[PATH_MAX-1] = '\0'; /* truncate it */
123 static char dos_name[PATH_MAX];
214 char fname[PATH_MAX];
216 strncpy(fname, file_name, PATH_MAX-1);
217 fname[PATH_MAX-1] = '\0';
222 if(strlen(fname) >= PATH_MAX
[all...]
/macosx-10.10.1/Libc-1044.1.2/stdlib/FreeBSD/
H A Drealpath.c54 char buf[PATH_MAX];
74 * char *realpath(const char *path, char resolved[PATH_MAX]);
81 realpath(const char *path, char inresolved[PATH_MAX])
89 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX];
111 if ((resolved = malloc(PATH_MAX)) == NULL) return (NULL);
142 if (__private_getcwd(resolved, PATH_MAX, 0) == NULL)
144 if (__private_getcwd(resolved, PATH_MAX, 1) == NULL)
147 strlcpy(resolved, ".", PATH_MAX);
[all...]
/macosx-10.10.1/autofs-246/mig/
H A Dautofs_migtypes.h30 type autofs_pathname = c_string[*:PATH_MAX];
/macosx-10.10.1/file_cmds-242/cp/
H A Dextern.h36 char p_path[PATH_MAX]; /* pointer to the start of a path */
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/preroot/
H A Drealopen.c36 char buf[PATH_MAX + 8];

Completed in 380 milliseconds

1234567891011>>