Home
last modified time | relevance | path

Searched refs:startdir (Results 1 – 5 of 5) sorted by relevance

/external/ltp/lib/
Dtst_resource.c45 const char *startdir; in tst_dataroot_init() local
55 startdir = tst_get_startwd(); in tst_dataroot_init()
56 if (startdir[0] == 0) { in tst_dataroot_init()
62 startdir = curdir; in tst_dataroot_init()
64 ret = snprintf(dataroot, PATH_MAX, "%s/datafiles", startdir); in tst_dataroot_init()
/external/ltp/testcases/kernel/fs/ftest/
Dftest06.c95 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN]; variable
133 if (!startdir[0]) { in main()
134 if (getcwd(startdir, MAXPATHLEN) == NULL) { in main()
138 cwd = startdir; in main()
212 if (chdir(startdir) < 0) in main()
214 startdir); in main()
456 if (chdir(startdir) < 0) { in cleanup()
457 tst_resm(TINFO, "Could not change to %s ", startdir); in cleanup()
Dftest02.c90 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN]; variable
119 if (!startdir[0]) { in main()
120 if (getcwd(startdir, MAXPATHLEN) == NULL) { in main()
125 cwd = startdir; in main()
197 chdir(startdir); in main()
440 if (chdir(startdir) < 0) in cleanup()
441 tst_resm(TBROK, "Could not change to %s ", startdir); in cleanup()
/external/openssh/contrib/aix/
Dbuildbff.sh23 startdir=`pwd`
361 mv ../$PKGNAME-$VERSION.bff $startdir
362 cd $startdir
/external/openssh/
Dsftp.c1530 const char *startdir, int err_abort, int echo_command) in parse_dispatch_command() argument
1617 path1 = xstrdup(startdir); in parse_dispatch_command()
2161 char *dir = NULL, *startdir = NULL; in interactive_loop() local
2205 startdir = xstrdup(remote_path); in interactive_loop()
2216 &remote_path, startdir, 1, 0) != 0) { in interactive_loop()
2218 free(startdir); in interactive_loop()
2230 &remote_path, startdir, 1, 0); in interactive_loop()
2232 free(startdir); in interactive_loop()
2281 startdir, batchmode, !interactive && el == NULL); in interactive_loop()
2287 free(startdir); in interactive_loop()