Searched defs:fdp (Results 1 - 5 of 5) sorted by relevance
/ast/src/lib/libast/path/ |
H A D | pathtmp.c | 35 pathtmp(char* buf, const char* dir, const char* pfx, int* fdp) argument 40 return pathtemp(buf, len, dir, pfx, fdp);
|
H A D | pathtemp.c | 49 * if fdp!=0 then the path is opened O_EXCL and *fdp is the open fd 102 pathtemp(char* buf, size_t len, const char* dir, const char* pfx, int* fdp) argument 323 if (fdp) 327 *fdp = n;
|
/ast/src/lib/libast/comp/ |
H A D | mktemp.c | 44 temp(char* buf, int* fdp) argument 67 if (!pathtemp(buf, len, d, s, fdp))
|
/ast/src/lib/libcmd/ |
H A D | mktemp.c | 75 int* fdp = &fd; local 87 fdp = 0; 108 fdp = 0; 128 mode = (fdp ? (S_IRUSR|S_IWUSR) : S_IRWXU) & ~mask; 146 if (!pathtemp(path, sizeof(path), dir, pfx, fdp)) 154 if (fdp || unsafe || !mkdir(path, mode)) 156 if (fdp) 157 close(*fdp);
|
/ast/src/cmd/kshlib/open/ |
H A D | open.c | 458 struct filedata *fdp; local 528 fdp = (struct filedata*)np->nvalue; 530 fdp->statb = statb; 532 fstat(fd,&fdp->statb); 533 fdp->fd = fd; 534 fdp->name = strdup(argv[1]);
|
Completed in 21 milliseconds