Lines Matching refs:PATH_MAX

168 #define	MAXLEV	(PATH_MAX / 2)
633 static size_t xrec_size = 8 * PATH_MAX; /* extended rec initial size */
678 static char local_path[UTF_8_FACTOR * PATH_MAX + 1];
679 static char local_linkpath[UTF_8_FACTOR * PATH_MAX + 1];
1063 (strlen(tmpdir) + strlen(tmp_suffix)) > PATH_MAX) {
1269 char wdir[PATH_MAX+2], tempdir[PATH_MAX+2], *parent;
1270 char file[PATH_MAX*2], origdir[PATH_MAX+1];
1353 if (getcwd(origdir, (PATH_MAX+1)) == NULL) {
1369 } else if ((fgets(file, PATH_MAX-1, fp)) == NULL) {
1824 char buf[PATH_MAX + 2]; /* Add trailing slash and null */
1828 char filetmp[PATH_MAX + 1];
1844 char newparent[PATH_MAX + MAXNAMLEN + 1];
1971 * in which case fullname is limited to PATH_MAX).
1975 (split > PATH_MAX)) {
2265 readlink_max = PATH_MAX;
2944 char dirname[PATH_MAX+1];
2945 char templink[PATH_MAX+1]; /* temp link with terminating NULL */
4001 char name[PATH_MAX+1]; /* holds name for diagnostics */
4149 char templink[PATH_MAX+1];
4732 static char fullname[PATH_MAX + 1];
4811 char name[PATH_MAX+1];
4955 * The name can be up to PATH_MAX bytes. bsrch compares what it sees between
4966 #define N (2 * (PATH_MAX + TIME_MAX_DIGITS + LONG_MAX_DIGITS + 3))
5499 char buf[PATH_MAX + 1];
5522 char name[PATH_MAX + 1];
5559 char name[PATH_MAX + 1];
5975 * Version of chdir that handles directory pathnames of greater than PATH_MAX
5981 * pathname is greater than PATH_MAX, then this still won't work, and this
5987 * one of the segments of a path that is greater than PATH_MAX. This isn't
6130 static char fullname[PATH_MAX + 1];
6131 static char dir[PATH_MAX + 1];
6132 static char component[PATH_MAX + 1];
6133 static char savename[PATH_MAX + 1];
6545 static char dirstack[PATH_MAX+2];
6547 static timestruc_t modtimes[PATH_MAX+1]; /* hash table */
6589 * which is limited only to contain PATH_MAX chars
6650 char buf[PATH_MAX + 1];
6662 PATH_MAX)) != -1) {
6950 local_linkpath, value, PATH_MAX) == 0)
6957 local_path, value, PATH_MAX) == 0)
7137 * or the name is PATH_MAX, which is 1024. So, assume 1 character
7142 assert(PATH_MAX <= 9996);
7415 tempbuf, iconv_cd, _X_LINKPATH, PATH_MAX);
7429 tempbuf, iconv_cd, _X_PATH, PATH_MAX);
8364 char tmpdir[PATH_MAX + 1];
8366 if (strlen(path) > PATH_MAX) {