Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
Loading...
Searching...
No Matches
srn_io_fd_result_t Struct Reference

The result of an op that yields a descriptor (srn_fiber_socket, srn_fiber_open). More...

#include <io.h>

Data Fields

 ERROR_HEADER
int fd

Detailed Description

The result of an op that yields a descriptor (srn_fiber_socket, srn_fiber_open).

On success fd is the descriptor; on failure maybe_error is set.

Definition at line 66 of file io.h.

Field Documentation

◆ ERROR_HEADER

srn_io_fd_result_t::ERROR_HEADER

Definition at line 67 of file io.h.

◆ fd

int srn_io_fd_result_t::fd

Definition at line 68 of file io.h.


The documentation for this struct was generated from the following file:
  • serene/rt/fiber/io.h