AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
session Struct Reference

A session: its process groups, and its controlling terminal. More...

#include <proc.h>

Data Fields

pid_t sid
 the session's ID
struct queue * pgps
 its process groups
struct proc * leader
 its leader, the process that made it
struct tty * ctty
 its controlling terminal, or NULL
struct qnode * qnode
 its node on the list of sessions

Detailed Description

A session: its process groups, and its controlling terminal.

Definition at line 26 of file proc.h.

Field Documentation

◆ ctty

struct tty* session::ctty

its controlling terminal, or NULL

Definition at line 37 of file proc.h.

Referenced by pgrp_release(), proc_kill(), tty_hangup(), tty_ioctl(), and tty_open().

◆ leader

struct proc* session::leader

its leader, the process that made it

Definition at line 34 of file proc.h.

Referenced by proc_kill(), session_new(), sys_setpgid(), tty_ioctl(), and tty_open().

◆ pgps

struct queue* session::pgps

its process groups

Definition at line 31 of file proc.h.

Referenced by pgrp_release(), pid_is_group(), proc_setpgid(), session_new(), and tty_ioctl().

◆ qnode

struct qnode* session::qnode

its node on the list of sessions

Definition at line 40 of file proc.h.

◆ sid

pid_t session::sid

the session's ID

Definition at line 28 of file proc.h.

Referenced by pid_is_group(), session_new(), and tty_ioctl().


The documentation for this struct was generated from the following file: