Home
last modified time | relevance | path

Searched refs:new_argv (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/yppasswd/
H A Dyppasswd.c48 char *new_argv[5]; in main() local
61 new_argv[0] = "yppasswd"; in main()
62 new_argv[1] = "-r"; in main()
63 new_argv[2] = "nis"; in main()
65 new_argv[3] = NULL; in main()
67 new_argv[3] = argv[1]; in main()
68 new_argv[4] = NULL; in main()
71 (void) execvp("/bin/passwd", new_argv); in main()
/titanic_50/usr/src/cmd/zlogin/
H A Dzlogin.c1033 char **new_argv, *ptr, *lasts; in zone_login_cmd() local
1077 if ((new_argv = malloc(sizeof (char *) * n)) == NULL) in zone_login_cmd()
1082 new_argv[a++] = result_buf; in zone_login_cmd()
1085 while ((new_argv[a++] = strtok_r(NULL, " ", &lasts)) != NULL) in zone_login_cmd()
1088 new_argv[a++] = NULL; in zone_login_cmd()
1091 return (new_argv); in zone_login_cmd()
1105 char **new_argv; in prep_args() local
1127 if ((new_argv = malloc(sizeof (char *) * n)) == NULL) in prep_args()
1130 new_argv[a++] = FAILSAFESHELL; in prep_args()
1133 if ((new_argv = malloc(sizeof (char *) * n)) == NULL) in prep_args()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/uhci/
H A Duhci.c315 mdb_arg_t new_argv[1]; in uhci_qh() local
320 new_argv[0].a_type = MDB_TYPE_STRING; in uhci_qh()
321 new_argv[0].a_un.a_str = "-d"; in uhci_qh()
324 if ((mdb_pwalk_dcmd("uhci_qh", "uhci_qh", new_argc, new_argv, in uhci_qh()
/titanic_50/usr/src/cmd/fm/fmd/common/
H A Dfmd_conf.c337 const char **new_argv = new->cpa_argv; in set_lst() local
346 new->cpa_argv[new->cpa_argc++] = new_argv[i]; in set_lst()
350 fmd_free(new_argv, sizeof (char *) * new_argc); in set_lst()
362 const char **new_argv; in del_lst() local
377 new_argv = fmd_alloc(sizeof (char *) * (pap->cpa_argc - 1), FMD_SLEEP); in del_lst()
381 new_argv[new_argc++] = pap->cpa_argv[i]; in del_lst()
385 pap->cpa_argv = new_argv; in del_lst()
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dmodhash.c394 mdb_arg_t new_argv[1]; in modhash() local
407 new_argv[0].a_type = MDB_TYPE_STRING; in modhash()
408 new_argv[0].a_un.a_str = opt_t ? "-st" : "-s"; in modhash()
409 if (mdb_walk_dcmd("modhash", "modhash", 1, new_argv) == -1) { in modhash()
/titanic_50/usr/src/cmd/sqlite/
H A Dshell.c825 char *new_argv[2], *new_colv[2]; in do_meta_command() local
826 new_argv[0] = "CREATE TABLE sqlite_master (\n" in do_meta_command()
833 new_argv[1] = 0; in do_meta_command()
836 callback(&data, 1, new_argv, new_colv); in do_meta_command()
838 char *new_argv[2], *new_colv[2]; in do_meta_command() local
839 new_argv[0] = "CREATE TEMP TABLE sqlite_temp_master (\n" in do_meta_command()
846 new_argv[1] = 0; in do_meta_command()
849 callback(&data, 1, new_argv, new_colv); in do_meta_command()
/titanic_50/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c578 mdb_arg_t new_argv[SMB_MDB_MAX_OPTS]; in smb_dcmd_list() local
588 new_argc = smb_dcmd_setopt(opts, SMB_MDB_MAX_OPTS, new_argv); in smb_dcmd_list()
597 if (mdb_pwalk_dcmd("list", "smbsrv", new_argc, new_argv, addr)) { in smb_dcmd_list()
/titanic_50/usr/src/lib/libdtrace/common/
H A Ddt_parser.c4326 uint_t old_argc, dt_node_t *old_argv, uint_t new_argc, dt_node_t *new_argv) in dt_node_provider_cmp_argv() argument
4344 old_argv = old_argv->dn_list, new_argv = new_argv->dn_list) { in dt_node_provider_cmp_argv()
4346 new_argv->dn_ctfp, new_argv->dn_type) == 0) in dt_node_provider_cmp_argv()
4353 dt_node_type_name(new_argv, n1, sizeof (n1)), in dt_node_provider_cmp_argv()