dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Functions
utils.c File Reference

(afbbf703e)

#include <config.h>
#include <compat.h>
#include <string.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
Include dependency graph for utils.c:

Functions

int fgets_checked (char *buf, size_t bufsz, FILE *f, const char *fn)
 
int fgets_must (char *buf, size_t bufsz, FILE *f, const char *fn)
 

Function Documentation

◆ fgets_checked()

int fgets_checked ( char *  buf,
size_t  bufsz,
FILE *  f,
const char *  fn 
)

References _, ohshit(), and ohshite().

Referenced by dpkg_arch_load_list(), ensure_diversions(), fgets_must(), trig_file_interests_ensure(), trig_parse_ci(), and trigdef_parse().

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

◆ fgets_must()

int fgets_must ( char *  buf,
size_t  bufsz,
FILE *  f,
const char *  fn 
)

References _, fgets_checked(), and ohshit().

Referenced by ensure_diversions().

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