Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dmain.c123 *spooldir, variable
402 spooldir = device; in main()
403 if (isdir(spooldir)) { in main()
404 tmpdir = spooldir = qstrdup(tmpnam(NULL)); in main()
409 if (mkdir(spooldir, 0755)) { in main()
410 progerr(gettext(ERR_MKDIR), spooldir); in main()
416 pkg = gpkglist(spooldir, all_pkgs, category); in main()
418 pkg = gpkglist(spooldir, all_pkgs, NULL); in main()
422 pkg = gpkglist(spooldir, in main()
425 pkg = gpkglist(spooldir, in main()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dbnuconvert.c38 DIR *machdir, *spooldir; local
75 if ((spooldir = opendir(SPOOL)) == NULL) {
81 while (gdirf(spooldir, file1, SPOOL)) {
132 closedir(spooldir);
H A Duusched.c52 DIR *spooldir, *subdir, *gradedir; local
121 if (chdir(SPOOL) != 0 || (spooldir = opendir(SPOOL)) == NULL)
123 while (gdirf(spooldir, f, SPOOL) == TRUE) {
H A Duucleanup.c156 DIR *jcdir, *machdir, *spooldir; local
245 if ((spooldir = opendir(SPOOL)) == NULL) {
251 while (gdirf(spooldir, file1, SPOOL) == TRUE) {
318 closedir(spooldir);
1093 DIR *spooldir; in cleanworkspace() local
1100 if ((spooldir = opendir(WORKSPACE)) == NULL) { in cleanworkspace()
1105 while (gnamef(spooldir, f) == TRUE) in cleanworkspace()
H A Duustat.c127 DIR *spooldir, *subdir, *machdir, *gradedir; in main() local
314 if (chdir(STATDIR) || (spooldir = opendir(STATDIR)) == NULL) in main()
316 while (gnamef(spooldir, f) == TRUE) { in main()
334 closedir(spooldir); in main()
362 if (chdir(SPOOL) != 0 || (spooldir = opendir(SPOOL)) == NULL) in main()
365 while (gnamef(spooldir, f) == TRUE) { in main()
431 closedir(spooldir); in main()