fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
readclose.c File Reference

This is the successor of the older 'slurpclose.c' file. More...

#include <unistd.h>
#include "open.h"
#include "error.h"
#include "readclose.h"
Include dependency graph for readclose.c:

Go to the source code of this file.

Functions

int readclose_append (int fd, stralloc *sa, unsigned int bufsize)
 
int readclose (int fd, stralloc *sa, unsigned int bufsize)
 
int openreadclose (const char *fn, stralloc *sa, unsigned int bufsize)
 

Detailed Description

This is the successor of the older 'slurpclose.c' file.

Author
kp qlibs

The function * 'slurpclose' is now called 'readclose_append'.

The other function 'readclose' was introduced here initial.

Definition in file readclose.c.

Function Documentation

◆ openreadclose()

int openreadclose ( const char *  fn,
stralloc sa,
unsigned int  bufsize 
)

Definition at line 33 of file readclose.c.

Here is the call graph for this function:

◆ readclose()

int readclose ( int  fd,
stralloc sa,
unsigned int  bufsize 
)

Definition at line 27 of file readclose.c.

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

◆ readclose_append()

int readclose_append ( int  fd,
stralloc sa,
unsigned int  bufsize 
)

Definition at line 15 of file readclose.c.

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