| /illumos-gate/usr/src/cmd/ptools/plgrp/ |
| H A D | plgrp.c | 30 * The plgrp utility allows a user to display and modify the home lgroup and 72 * represent changing home as old => new 853 * Use /proc to call lgrp_affinity_set(3LGRP) to set home lgroup of given 874 lgrp_id_t home; local 903 * Get and display home lgroup for given LWP 905 home = lwpsinfo->pr_lgrp; 906 (void) printf(FMT_HOME"\n", (int)home); 911 * Get and display this LWP's home lgroup and affinities 914 home = lwpsinfo->pr_lgrp; 915 (void) printf(FMT_HOME, (int)home); [all...] |
| /illumos-gate/usr/src/cmd/csh/ |
| H A D | sh.c | 197 fast++; /* No home -> can't read scripts */ 203 set(S_home /* "home" */, savestr(cp)); 206 set(S_home /* "home" */, savestr(cp)); 504 /* Will have value("home") here because set fast if don't */ 505 srccat(value(S_home /* "home" */), 519 srccat_inlogin(value(S_home /* "home" */), 768 (void) strcpy_(buf, value(S_home /* "home" */)); 795 if (adrof(S_home /* "home" */)) 796 srccat(value(S_home /* "home" */), 1125 * Extract a home director 1131 gethdir(tchar *home) argument [all...] |
| /illumos-gate/usr/src/tools/cscope-fast/ |
| H A D | main.c | 68 char *editor, *home, *shell; /* environment variables */ variable 168 home = getenv("HOME"); 211 (void) sprintf(path, "%s/%s", home, reffile); 214 /* put it in the home directory */ 216 (void) sprintf(path, "%s/%s", home, invname); 218 (void) sprintf(path, "%s/%s", home, invpost); 966 * normalize the current directory relative to the home directory so 970 if (strcmp(currentdir, home) == 0) { 972 } else if (strncmp(currentdir, home, strlen(home)) [all...] |
| /illumos-gate/usr/src/uts/common/syscall/ |
| H A D | lgrpsys.c | 477 * starting from home lgroup unless specified starting lgroup is preferred 487 lgrp_id_t home; local 527 * Start searching from home lgroup unless given starting lgroup is 528 * preferred or home lgroup isn't in given pset. Use root lgroup as 529 * starting point if both home and starting lgroups aren't in given 533 home = t->t_lpl->lpl_lgrpid; 534 if (!prefer_start && LGRP_CPUS_IN_PART(home, cpupart)) 535 lgrpid = home; 592 lgrp_id_t home; local 631 * Rehome if found lgroup with more affinity than home o 966 lgrp_id_t home; local [all...] |
| /illumos-gate/usr/src/cmd/power/ |
| H A D | powerd.c | 1007 char *home, *user; local 1031 home = malloc(strlen(pwd->pw_dir) + sizeof (ehome)); 1033 if (home == NULL || user == NULL) { 1034 free(home); 1040 (void) strcpy(home, ehome); 1041 (void) strcat(home, pwd->pw_dir); 1049 (void) putenv(home); 1067 free(home);
|
| /illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
| H A D | softKeystoreUtil.c | 164 char *home = getenv("HOME"); local 185 } else if ((home != NULL) && (strcmp(home, "") != 0)) { 186 /* alternate path not specified, try user's home dir */ 188 home, SUNW_PATH, KEYSTORE_PATH); 339 char *home = getenv("HOME"); local 341 if (home == NULL || strcmp(home, "") == 0) { 346 "%s/%s/%s", home, SUNW_PATH, KEYSTORE_PATH);
|
| /illumos-gate/usr/src/cmd/more/ |
| H A D | more.c | 145 #define home() putp(cursor_home) macro 334 home (); 380 home (); 554 home(); 1366 home (); 1376 home ();
|
| /illumos-gate/usr/src/cmd/login/ |
| H A D | login.c | 226 static char home[MAXPATHLEN] = { "HOME=" }; variable 233 {home, path, logname, hertz, term, 0, 0}; 1725 * place us in the user's home directory just in 1757 (void) printf("No directory! Logging in with home=/\n"); 2117 * If the shell field starts with a '*', do a chroot to the home 2255 ENVSTRNCAT(home, pwd->pw_dir);
|
| /illumos-gate/usr/src/cmd/ed/ |
| H A D | ed.c | 268 static char *home; variable 394 home = getenv("HOME"); 1225 if (io < 0 && home) { 1228 fn = (char *)calloc(strlen(home) + 8, sizeof (char)); 1230 strcpy(fn, home);
|
| /illumos-gate/usr/src/cmd/cron/ |
| H A D | cron.c | 198 struct shared *home; /* directory for this event */ member in struct:event::__anon342::__anon343 210 char *home; /* home directory for user */ member in struct:usr 949 u->home = xmalloc(strlen(pw->pw_dir) + 1); 950 (void) strcpy(u->home, pw->pw_dir); 957 if (u->home != NULL) { 958 if (strcmp(u->home, pw->pw_dir) != 0) { 959 free(u->home); 960 u->home = xmalloc(strlen(pw->pw_dir) + 1); 961 (void) strcpy(u->home, p 1135 struct shared *home = NULL; local 2204 char *home; local [all...] |
| /illumos-gate/usr/src/lib/libtecla/common/ |
| H A D | getline.c | 464 const char *home; /* The string that moves the cursor home */ member in struct:GetLine 1836 gl->home = NULL; 3515 gl->home = NULL; 3552 gl->home = gl_tigetstr(gl, "home"); 3581 gl->home = gl_tgetstr(gl, "ho", &tgetstr_buf_ptr); 3616 if(!gl->home) 3617 gl->home = GL_ESC_STR "[H"; 4849 * input line from the home positio [all...] |