dpkg 1.21.11
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 fgets_must(), 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().

Here is the call graph for this function: