Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
io_trywritetimeout(3)	   Library Functions Manual	 io_trywritetimeout(3)

NAME
       io_trywritetimeout - write to a descriptor without blocking

SYNTAX
       #include	<io.h>

       int io_trywritetimeout(int64 fd,const char* buf,int64 len);

DESCRIPTION
       io_trywritetimeout  is identical	to io_trywrite,	with the following ex-
       ception:	if

       o  io_trywrite returns -1 (the descriptor is not	 ready	for  writing),
	  and

       o  the descriptor has a timeout,	and

       o  the write attempt was	after the descriptor's timeout,

       then  io_trywritetimeout	 instead returns -2, with errno	set to ETIMED-
       OUT.

SEE ALSO
       io_nonblock(3), io_waitwrite(3),	io_trywrite(3)

							 io_trywritetimeout(3)

NAME | SYNTAX | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=libowfat_io_trywritetimeout&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help