/macosx-10.10/ksh-23/ksh/src/lib/libast/stdio/ |
H A D | fdopen.c | 31 if (fd < 0 || !(flags = _sftype(mode, NiL, NiL, NiL))) 33 return sfnew(NiL, NiL, (size_t)SF_UNBOUND, fd, flags);
|
H A D | fmemopen.c | 31 return sfnew(NiL, buf, size, -1, SF_STRING|_sftype(mode, NiL, NiL, NiL));
|
H A D | fopen.c | 29 return sfopen(NiL, path, mode);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/misc/ |
H A D | procrun.c | 46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1; 48 return procclose(procopen(path, argv, NiL, NiL, flags|PROC_FOREGROUND|PROC_GID|PROC_UID));
|
H A D | fs3d.c | 57 if (!fsview && (!getenv("LD_PRELOAD") || mount("", "", 0, NiL))) 59 if (FS3D_op(op) == FS3D_OP_INIT && mount(FS3D_init, NiL, FS3D_VIEW, NiL)) 61 if (mount(on, val, FS3D_VIEW|FS3D_GET|FS3D_SIZE(sizeof(val)), NiL)) 70 cur = FS3D_LIMIT((int)strtol(v + sizeof(off) + 1, NiL, 0)); 91 if (v && mount(v, NiL, FS3D_VIEW, NiL))
|
/macosx-10.10/ksh-23/ksh/src/lib/libcoshell/ |
H A D | system.c | 39 if (!(co = coopen(NiL, CO_ANY, NiL))) 41 if (cj = coexec(co, cmd, CO_SILENT, NiL, NiL, NiL))
|
H A D | procrun.c | 41 return procclose(procopen(path, a, NiL, NiL, PROC_FOREGROUND|PROC_GID|PROC_UID|flags));
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/ |
H A D | tmpnam.c | 50 return pathtemp(s ? s : buf, L_tmpnam, NiL, "tn", NiL);
|
H A D | sigflag.c | 40 if (sigaction(sig, NiL, &sa)) 46 return sigaction(sig, &sa, NiL);
|
H A D | tempnam.c | 57 return pathtmp(NiL, dir, pfx, NiL);
|
H A D | mkdir.c | 57 if (procclose(procopen(cmd[n], av, NiL, NiL, 0)) != -1)
|
H A D | rmdir.c | 54 if (procclose(procopen(cmd[n], av, NiL, NiL, 0)) != -1)
|
H A D | system.c | 54 return procrun(NiL, sh, 0);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/path/ |
H A D | pathbin.c | 41 if (!*(bin = astconf("PATH", NiL, NiL)) || !(bin = strdup(bin)))
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/include/ |
H A D | mc.h | 62 #define MC_MESSAGE_SET(s) mcindex(s,NiL,NiL,NiL)
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/string/ |
H A D | fmtclock.c | 45 if (!(clk_tck = (unsigned int)strtoul(astconf("CLK_TCK", NiL, NiL), NiL, 10)))
|
H A D | strerror.c | 116 p = setlocale(LC_MESSAGES, NiL); 126 return ERROR_translate(NiL, NiL, "errlist", msg); 132 sfsprintf(msg, z, ERROR_translate(NiL, NiL, "errlist", "Error %d"), err);
|
H A D | fmtesc.c | 227 return fmtquote(as, NiL, qs, n, 0); 237 return fmtquote(as, NiL, qs, strlen((char*)as), 0); 247 return fmtquote(as, NiL, NiL, strlen((char*)as), 0);
|
/macosx-10.10/ksh-23/ksh/src/lib/libcmd/ |
H A D | uname.c | 344 error(ERROR_usage(2), "%s", optusage(NiL)); 359 astconflist(sfstdout, NiL, ASTCONF_base|ASTCONF_defined|ASTCONF_lower|ASTCONF_quote|ASTCONF_matchcall, "CS|SI"); 372 sfprintf(sfstdout, "%s%c", *(t = astconf(buf, NiL, NiL)) ? t : *(t = astconf(buf+3, NiL, NiL)) ? t : "unknown", *argv ? ' ' : '\n'); 397 if (!*(s = astconf("ARCHITECTURE", NiL, NiL))) 403 if (!*(s = astconf("PLATFORM", NiL, NiL)) [all...] |
/macosx-10.10/ksh-23/ksh/src/lib/libdll/ |
H A D | dllcheck.c | 45 errorf("dll", NiL, 1, "dllversion: %s: %s", path, state.errorbuf); 79 errorf("dll", NiL, 1, "dllcheck: %s: %s", path, state.errorbuf); 83 errorf("dll", NiL, -1, "dllversion: %s: %lu >= %lu", path, v, ver);
|
H A D | dll_lib.c | 138 if (!(dll = dllplugin(names->id, names->name, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)) && (streq(names->name, names->base) || !(dll = dllplugin(names->id, names->base, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)))) 141 (*dllerrorf)(NiL, disc, 2, "%s: library not found", names->name); 143 errorf("dll", NiL, -1, "dll_lib: %s version %lu library not found", names->name, version); 155 (*dllerrorf)(NiL, disc, 2, "%s: %s: initialization function not found in library", names->path, sym); 157 errorf("dll", NiL, -1, "dll_lib: %s version %lu initialization function %s not found in library", names->name, version, sym); 172 errorf("dll", NiL, -1, "dll_lib: %s version %lu loaded from %s", names->name, version, lib->path);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/aso/ |
H A D | asohdr.h | 44 #ifndef NiL 45 #define NiL ((void*)0) macro
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/preroot/ |
H A D | realopen.c | 38 if (*path != '/' || !ispreroot(NiL)) return(-1);
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/tm/ |
H A D | tmsleep.c | 41 return tvsleep(&tv, NiL);
|
H A D | tmxsleep.c | 40 return tvsleep(&tv, NiL);
|