--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Calls the operating system function identified by fixnum, passing in the arguments, which must be either String objects, or Integer objects that ultimately fit within a native long. Up to nine parameters may be passed (14 on the Atari-ST). The function identified by fixnum is system dependent. On some Unix systems, the numbers may be obtained from a header file called syscall.h.
- !ruby/struct:SM::Flow::VERB
body: " syscall 4, 1, "hello\\n", 6 # '4' is write(2) on our box\n"
- !ruby/struct:SM::Flow::P
body: produces:
- !ruby/struct:SM::Flow::VERB
body: " hello\n"
full_name: Kernel#syscall
is_singleton: false
name: syscall
params: |
syscall(fixnum [, args...]) => integer
visibility: public