rpm: cliutils.c File Reference

rpm 4.13.0

Functions | Variables
cliutils.c File Reference
`#include "system.h"`
`#include <errno.h>`
`#include <sys/wait.h>`
`#include <rpm/rpmlog.h>`
`#include <rpm/rpmlib.h>`
`#include <rpm/rpmfileutil.h>`
`#include <rpm/rpmmacro.h>`
`#include <rpm/rpmcli.h>`
`#include "cliutils.h"`
`#include "debug.h"`
Include dependency graph for cliutils.c:

Go to the source code of this file.

## Functions
void | argerror (const char *desc)
static void | printVersion (FILE *fp)
static void | printBanner (FILE *fp)
void | printUsage (poptContext con, FILE *fp, int flags)
int | initPipe (void)
int | finishPipe (void)

## Variables
static pid_t | pipeChild = 0

## Function Documentation

## ◆ argerror()

void argerror | ( | const char * | desc | ) |

Definition at line 19 of file cliutils.c.

References _, and __progname.

Referenced by doSign(), and main().

## ◆ finishPipe()

int finishPipe | ( | void |  | ) |

Definition at line 73 of file cliutils.c.

References pipeChild.

Referenced by main().

## ◆ initPipe()

int initPipe | ( | void |  | ) |

Definition at line 48 of file cliutils.c.

References _, pipeChild, and rpmcliPipeOutput.

Referenced by main().

## ◆ printBanner()

static void printBanner | ( | FILE * | fp | ) |
| static

Definition at line 30 of file cliutils.c.

References _.

Referenced by printUsage().

## ◆ printUsage()

void printUsage | ( | poptContext | con,
|  | FILE * | fp,
|  | int | flags
| ) |  |

Definition at line 36 of file cliutils.c.

References printBanner(), printVersion(), and rpmIsVerbose.

Referenced by main().

## ◆ printVersion()

static void printVersion | ( | FILE * | fp | ) |
| static

Definition at line 25 of file cliutils.c.

References _, and rpmEVR.

Referenced by printUsage().

## Variable Documentation

## ◆ pipeChild

pid_t pipeChild = 0
| static

Definition at line 16 of file cliutils.c.

Referenced by finishPipe(), and initPipe().