Lines Matching refs:get_sessions
331 get_sessions(char *session)
337 perror("get_sessions: unable to pipe");
343 perror("get_sessions: can not fork");
356 perror("get_sessions: child failed to reopen stdout");
372 perror("get_sessions: fail to exec"); /* shouldn't be reached */
486 perror("get_sessions: error waiting for child process");
491 fprintf(stderr, "get_sessions: child exited with signal %d\n",
500 printf("get_sessions(all): %d sessions found\n",
503 printf("get_sessions(single): %d sessions found\n",
513 fprintf(stderr, "get_sessions: child exited abnormally\n");
628 if ((num_sessions = get_sessions("all")) == -1)
695 if (get_sessions(session_id) == 0) {
754 if ((num_sessions = get_sessions("all")) == -1)
772 i = get_sessions(session_id);
862 (get_sessions(dsession_mgr_table[i].session_id) == 0)) {
870 if ((num_sessions = get_sessions("all")) == -1)
969 if ((num_sessions = get_sessions("all")) == -1)
1141 if ((num_sessions = get_sessions("all")) == -1)
1226 if ((ck_session_changed) && ((num_sessions = get_sessions("all")) == -1))