28 fprintf(stderr,
"Runtime type error: sock_close expects (int fd)\n");
34 ok = (close(
fd) == 0) ? 1 : 0;
push_value(vm, make_int(ok))
Tagged union representing a Fun value.
Value make_int(int64_t v)
Construct a Value representing a 64-bit integer.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.