Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
#include "dln.h"
#include <strings.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
Go to the source code of this file.
Macros | |
#define | dln_warning fprintf |
#define | dln_warning_arg stderr, |
#define | S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) |
#define | PATHNAME_TOO_LONG() |
#define | RETURN_IF(expr) if (expr) return (char *)fname; |
#define | S_ISREG(m) (((m) & S_IFMT) == S_IFREG) |
Functions | |
char * | getenv () |
char * | dln_find_exe_r (const char *fname, const char *path, char *buf, size_t size DLN_FIND_EXTRA_ARG_DECL) |
char * | dln_find_file_r (const char *fname, const char *path, char *buf, size_t size DLN_FIND_EXTRA_ARG_DECL) |
#define dln_warning fprintf |
Definition at line 17 of file dln_find.c.
#define dln_warning_arg stderr, |
Definition at line 18 of file dln_find.c.
#define PATHNAME_TOO_LONG | ( | ) |
Definition at line 48 of file dln_find.c.
char* dln_find_file_r | ( | const char * | fname, |
const char * | path, | ||
char * | buf, | ||
size_t size | DLN_FIND_EXTRA_ARG_DECL | ||
) |
Definition at line 87 of file dln_find.c.
References path.
char* getenv | ( | ) |
Referenced by dln_find_exe_r().