Ruby: ruby-runner.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros | Functions
ruby-runner.c File Reference
`#include "ruby/internal/config.h"`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <string.h>`
`#include <unistd.h>`
`#include <sys/types.h>`
`#include <sys/stat.h>`
`#include "ruby-runner.h"`

Go to the source code of this file.

## Macros
#define | _POSIX_C_SOURCE 200809L
#define | STRINGIZE(expr) STRINGIZE0(expr)
#define | STRINGIZE0(expr) #expr
#define | EXTOUT_DIR BUILDDIR"/"EXTOUT

## Functions
int | main (int argc, char **argv)

## Macro Definition Documentation

## ◆ _POSIX_C_SOURCE

#define _POSIX_C_SOURCE 200809L

Definition at line 1 of file ruby-runner.c.

## ◆ EXTOUT_DIR

#define EXTOUT_DIR BUILDDIR"/"EXTOUT

Definition at line 54 of file ruby-runner.c.

## ◆ STRINGIZE

#define STRINGIZE | ( |  | expr | ) | STRINGIZE0(expr)

Definition at line 16 of file ruby-runner.c.

## ◆ STRINGIZE0

#define STRINGIZE0 | ( |  | expr | ) | #expr

Definition at line 17 of file ruby-runner.c.

## Function Documentation

## ◆ main()

int main | ( | int argc | ,
|  | char ** | argv
| ) |  |

Definition at line 56 of file ruby-runner.c.

References ABS_SRCDIR, ARCH, argv, BUILDDIR, EXTOUT_DIR, LIBPATHENV, malloc, memcpy, PATH_SEPARATOR, PRELOADENV, SOEXT, stat, STRINGIZE, strlen(), and strrchr().