Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
rlimit.c File Reference
#include <windows.h>
#include "rlimit.h"
#include <io.h>
#include <errno.h>
#include <inttypes.h>
+ Include dependency graph for rlimit.c:

Functions

void InitializeRlimits ()
 
int getrlimit (int resource, struct rlimit *rlp)
 
int setrlimit (int resource, const struct rlimit *rlp)
 
size_t rfwrite (const void *buffer, size_t size, size_t count, FILE *stream)
 
int _rwrite (int handle, const void *buffer, unsigned int count)
 

Variables

static BOOL rInitialized = FALSE
 
static rlimit_t rlimits [7]
 

Function Documentation

◆ _rwrite()

int _rwrite ( int  handle,
const void buffer,
unsigned int  count 
)

References RLIMIT_FSIZE, and rlimits.

◆ getrlimit()

int getrlimit ( int  resource,
struct rlimit rlp 
)

◆ InitializeRlimits()

void InitializeRlimits ( )

◆ rfwrite()

size_t rfwrite ( const void buffer,
size_t  size,
size_t  count,
FILE *  stream 
)

References RLIMIT_FSIZE, rlimits, and size.

◆ setrlimit()

int setrlimit ( int  resource,
const struct rlimit rlp 
)

Variable Documentation

◆ rInitialized

BOOL rInitialized = FALSE
static

◆ rlimits

rlimit_t rlimits[7]
static