#include "ruby/config.h"
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <fcntl.h>
#include <errno.h>
#include <ctype.h>
#include "internal.h"
#include "ruby/io.h"
#include "ruby/util.h"
#include <signal.h>
Go to the source code of this file.
|
| NORETURN (static void raise_from_check(rb_pid_t pid, int status)) |
|
void | Init_pty (void) |
|
◆ DEVICELEN
Definition at line 51 of file pty.c.
◆ ERROR_EXIT
#define ERROR_EXIT |
( |
|
str | ) |
|
Value:do { \
strlcpy(errbuf, (str), errbuf_len); \
return -1; \
} while (0)
◆ HEX1
Value:c"0",
c"1",
c"2",
c"3",
c"4",
c"5",
c"6",
c"7", \
c
"8",
c"9",
c"a",
c"b",
c"c",
c"d",
c"e",
c"f"
◆ WIFSTOPPED
#define WIFSTOPPED |
( |
|
status | ) |
(((status) & 0xff) == 0x7f) |
Definition at line 34 of file pty.c.
◆ Init_pty()
◆ NORETURN()
NORETURN |
( |
static void |
raise_from_checkrb_pid_t pid, int status | ) |
|