1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- For sockets, ioctl() and fcntl() now interact on the FIONBIO/FIOASYNC

requests (ioctl) and the O_NOBLOCK/O_ASYNC flags (fcntl).


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14775 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2004-11-27 12:43:12 +00:00
parent 24ea9161a7
commit be2d80a86a
6 changed files with 96 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdio_headers.h,v 1.3 2004-11-14 11:06:27 obarthel Exp $
* $Id: stdio_headers.h,v 1.4 2004-11-27 12:43:11 obarthel Exp $
*
* :ts=4
*
@ -252,6 +252,8 @@ struct iob
to have its protection bits updated after
it has been closed */
#define FDF_CACHE_POSITION (1UL<<9) /* Cache the file position. */
#define FDF_ASYNC_IO (1UL<<10) /* File was switched into asynchronous I/O
mode (sockets only). */
/****************************************************************************/
@ -306,7 +308,8 @@ enum file_hook_action_t
file_hook_action_info,
file_hook_action_duplicate_fd,
file_hook_action_seek_and_extend,
file_hook_action_is_interactive
file_hook_action_is_interactive,
file_hook_action_set_async
};
/****************************************************************************/