dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Functions
Pager execution
Collaboration diagram for Pager execution:

Functions

void pager_enable (bool enable)
 
const char * pager_get_exec (void)
 Get a suitable pager.
 
struct pagerpager_spawn (const char *desc)
 
void pager_reap (struct pager *pager)
 

Detailed Description

Function Documentation

◆ pager_enable()

void pager_enable ( bool  enable)

◆ pager_get_exec()

const char * pager_get_exec ( void  )

Get a suitable pager.

Returns
A string representing a pager.

References CAT.

Referenced by pager_spawn().

Here is the caller graph for this function:

◆ pager_reap()

void pager_reap ( struct pager pager)

References desc, m_dup2(), pid, sigpipe, stdout_old, SUBPROC_NOPIPE, subproc_reap(), and used.

Referenced by file_show().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pager_spawn()

struct pager * pager_spawn ( const char *  desc)

References CAT, command_shell(), desc, m_calloc(), m_dup(), m_dup2(), m_pipe(), pager_get_exec(), pid, pipe, sigpipe, stdout_old, subproc_fork(), and used.

Referenced by file_show().

Here is the call graph for this function:
Here is the caller graph for this function: