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

The result of srn_fiber_accept. More...

#include <io.h>

Data Fields

 ERROR_HEADER
int fd
socklen_t addrlen

Detailed Description

The result of srn_fiber_accept.

On success fd is the accepted descriptor and, when an address buffer was given, addrlen is the length of the peer address written into it.

Definition at line 86 of file io.h.

Field Documentation

◆ addrlen

socklen_t srn_io_accept_result_t::addrlen

Definition at line 89 of file io.h.

◆ ERROR_HEADER

srn_io_accept_result_t::ERROR_HEADER

Definition at line 87 of file io.h.

◆ fd

int srn_io_accept_result_t::fd

Definition at line 88 of file io.h.


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