(b76ad15ed0da636161de0243c547ee1e6fc95681)
#include "ruby/config.h"
#include <ctype.h>
#include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <fcntl.h>
#include "internal.h"
#include "internal/process.h"
#include "internal/signal.h"
#include "ruby/io.h"
#include "ruby/util.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 63 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 46 of file pty.c.
 
 
◆ Init_pty()
◆ NORETURN()
      
        
          | NORETURN | ( | static void | raise_from_checkrb_pid_t pid, int status | ) |  |