8 #include <rpm/rpmlog.h>     9 #include <rpm/rpmlib.h>    10 #include <rpm/rpmfileutil.h>    11 #include <rpm/rpmmacro.h>    12 #include <rpm/rpmcli.h>    27     fprintf(fp, 
_(
"RPM version %s\n"), 
rpmEVR);
    32     fprintf(fp, 
_(
"Copyright (C) 1998-2002 - Red Hat, Inc.\n"));
    33     fprintf(fp, 
_(
"This program may be freely redistributed under the terms of the GNU GPL\n"));
    43         poptPrintHelp(con, fp, flags);
    45         poptPrintUsage(con, fp, flags);
    53         fprintf(stderr, 
_(
"creating a pipe for --pipe failed: %m\n"));
    58         (void) signal(SIGPIPE, SIG_DFL);
    60         (void) dup2(p[0], STDIN_FILENO);
    63         fprintf(stderr, 
_(
"exec failed\n"));
    68     (void) dup2(p[1], STDOUT_FILENO);
    80         (void) fclose(stdout);
    83         } 
while (reaped == -1 && errno == EINTR);
    85         if (reaped == -1 || !WIFEXITED(status) || WEXITSTATUS(status))
 void printUsage(poptContext con, FILE *fp, int flags)
#define RPM_GNUC_NORETURN
static void printVersion(FILE *fp)
const char * rpmcliPipeOutput
void argerror(const char *desc)
static void printBanner(FILE *fp)