Lines Matching full:path
8 ** lfs.chdir (path)
10 ** lfs.dir (path)
12 ** lfs.lock_dir (path)
13 ** lfs.mkdir (path)
14 ** lfs.rmdir (path)
166 const char *path = luaL_checkstring(L, 1); in change_dir() local
167 if (chdir(path)) { in change_dir()
170 path, chdir_error); in change_dir()
184 char *path; in get_dir() local
187 if ((path = getcwd(buf, LFS_MAXPATHLEN)) == NULL) { in get_dir()
193 lua_pushstring(L, path); in get_dir()
273 const char *path = luaL_checklstring(L, 1, &pathl); in lfs_lock_dir() local
278 strcpy(ln, path); strcat(ln, lockfile); in lfs_lock_dir()
313 const char *path = luaL_checklstring(L, 1, &pathl); in lfs_lock_dir() local
319 strcpy(ln, path); strcat(ln, lockfile); in lfs_lock_dir()
435 ** @param #1 Directory path.
438 const char *path = luaL_checkstring (L, 1); in make_dir() local
441 fail = _mkdir (path); in make_dir()
443 fail = mkdir (path, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | in make_dir()
458 ** @param #1 Directory path.
461 const char *path = luaL_checkstring (L, 1); in remove_dir() local
464 fail = rmdir (path); in remove_dir()
546 const char *path = luaL_checkstring (L, 1); in dir_iter_factory() local
555 if (strlen(path) > MAX_PATH-2) in dir_iter_factory()
556 luaL_error (L, "path too long: %s", path); in dir_iter_factory()
558 sprintf (d->pattern, "%s/*", path); in dir_iter_factory()
560 d->dir = opendir (path); in dir_iter_factory()
562 luaL_error (L, "cannot open %s: %s", path, strerror (errno)); in dir_iter_factory()