OpenVPN
compat-dirname.c File Reference
#include "compat.h"
#include <string.h>
Include dependency graph for compat-dirname.c:

Go to the source code of this file.

Functions

static const char * __memrchr (const char *str, int c, size_t n)
char * dirname (char *path)

Function Documentation

◆ __memrchr()

const char * __memrchr ( const char * str,
int c,
size_t n )
static

Definition at line 38 of file compat-dirname.c.

Referenced by dirname().

◆ dirname()

char * dirname ( char * path)

Definition at line 61 of file compat-dirname.c.

References __memrchr().

Referenced by check_file_access().