gwion-util
utilities for the Gwion project
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
windows_missing.h File Reference

implementation of function not present in windows More...

#include <windows.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#define MAX_PATH   260
 
#define PATH_MAX   MAX_PATH
 
#define realpath(N, R)   _fullpath((R),(N),_MAX_PATH)
 

Typedefs

typedef unsigned int uint
 

Functions

char * strdup (const char *s)
 
char * strndup (const char *s, size_t n)
 
char * strsep (char **stringp, const char *delim)
 
int getline (char **lineptr, size_t *n, FILE *fp)
 
FILE * fmemopen (void *buf, size_t len, const char *type NUSED)
 

Detailed Description

implementation of function not present in windows

Definition in file windows_missing.h.

Macro Definition Documentation

◆ MAX_PATH

#define MAX_PATH   260

Definition at line 13 of file windows_missing.h.

◆ PATH_MAX

#define PATH_MAX   MAX_PATH

Definition at line 15 of file windows_missing.h.

◆ realpath

#define realpath ( N,
R )   _fullpath((R),(N),_MAX_PATH)

Definition at line 24 of file windows_missing.h.

Typedef Documentation

◆ uint

typedef unsigned int uint

Definition at line 18 of file windows_missing.h.

Function Documentation

◆ fmemopen()

FILE * fmemopen ( void * buf,
size_t len,
const char *type NUSED )

◆ getline()

int getline ( char ** lineptr,
size_t * n,
FILE * fp )

◆ strdup()

char * strdup ( const char * s)

◆ strndup()

char * strndup ( const char * s,
size_t n )

◆ strsep()

char * strsep ( char ** stringp,
const char * delim )