/ast/src/lib/libdll/ |
H A D | dllcheck.c | 51 * check if dll on path has plugin version >= ver 58 dllcheck(void* dll, const char* path, unsigned long ver, unsigned long* cur) argument 63 if (ver || cur) 69 if (!ver) 73 if (v < ver) 78 sfsprintf(state.errorbuf, sizeof(state.errorbuf), "plugin version %lu older than caller %lu", v, ver); 83 errorf("dll", NiL, -1, "dllversion: %s: %lu >= %lu", path, v, ver);
|
H A D | dllfind.c | 31 * find and load library name with optional version ver and dlopen() flags 38 dllfind(const char* lib, const char* ver, int flags, char* path, size_t size) argument 43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) 45 return dllplug(NiL, lib, ver, flags, path, size);
|
H A D | dllplug.c | 29 * find and load lib plugin/module library name with optional version ver and dlopen() flags 36 dllplugin(const char* lib, const char* name, const char* ver, unsigned long rel, unsigned long* cur, int flags, char* path, size_t size) argument 47 if (dls = dllsopen(lib, name, ver)) 123 dllplug(const char* lib, const char* name, const char* ver, int flags, char* path, size_t size) argument 125 return dllplugin(lib, name, ver, 0, NiL, flags, path, size);
|
H A D | dllnext.c | 184 register char* ver; local 209 ver = path + strlen(path); 214 if (ver <= path) 216 } while (*--ver != '.'); 217 if (*(ver + 1) <= '0' || *(ver + 1) >= '9') 219 *ver = 0;
|
/ast/src/lib/libast/path/ |
H A D | pathkey.c | 67 char* ver[2]; local 190 ver[0] = (char*)lang; 191 ver[1] = k = (s = strrchr(path, '/')) ? s + 1 : path; 224 for (c = 0; c < elementsof(ver); c++) 225 if (!env[c] && (s = ver[c])) 228 if (*t == '=' && (!*s || (s - ver[c]) > 1))
|
H A D | pathprobe.c | 121 char ver[PATH_MAX]; local 257 if ((v = x - e) >= sizeof(ver)) 258 v = sizeof(ver) - 1; 259 k = p = ver; 284 if (strcmp(ver, e)) 287 error(0, "probe processor %s version \"%s\" changed -- expected \"%s\"", proc, ver, e);
|
/ast/src/cmd/builtin/ |
H A D | dlls.c | 80 unsigned long ver; local 170 ver = dllversion(dll, NiL); 172 ver = 0; 179 sfprintf(sfstdout, "%14s %08lu\n", dle->name, ver); 182 sfprintf(sfstdout, "%08lu %s\n", ver, dle->path); 191 sfprintf(sfstdout, "%14s %08lu %s\n", dle->name, ver, dle->path);
|
/ast/src/cmd/ksh93/bltins/ |
H A D | typeset.c | 977 unsigned long ver; local 1031 if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path)))) 1037 sfprintf(sfstdout, "%s %08lu %s\n", arg, ver, path);
|
/ast/src/cmd/warp/ |
H A D | warp.c | 1083 warp_xst(register Call_t* p, const int ver, register struct stat* st) argument 1092 else if (ver >= _STAT64_VER) 1104 else if (ver == _STAT_VER) 1116 msg[19] = '0' + ver; 1123 _fxstat(const int ver, int fd, struct stat* st) argument 1130 if ((r = (*(Fxstat_f)call.call)(ver, fd, st)) != -1) 1131 warp_xst(&call, ver, st); 1136 __fxstat(const int ver, int fd, struct stat* st) argument 1143 if ((r = (*(Fxstat_f)call.call)(ver, fd, st)) != -1) 1144 warp_xst(&call, ver, s 1149 _lxstat(const int ver, const char* path, struct stat* st) argument 1162 __lxstat(const int ver, const char* path, struct stat* st) argument 1175 _xstat(const int ver, const char* path, struct stat* st) argument 1188 __xstat(const int ver, const char* path, struct stat* st) argument 1203 warp_xst64(register Call_t* p, const int ver, register struct stat64* st) argument 1243 _fxstat64(const int ver, int fd, struct stat64* st) argument 1256 __fxstat64(const int ver, int fd, struct stat64* st) argument 1269 _lxstat64(const int ver, const char* path, struct stat64* st) argument 1282 __lxstat64(const int ver, const char* path, struct stat64* st) argument 1295 _xstat64(const int ver, const char* path, struct stat64* st) argument 1308 __xstat64(const int ver, const char* path, struct stat64* st) argument [all...] |