mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- The internal 'struct fd' file descriptor table entry data structure
now has a user data field entry. - Rearranged the contents of the 'struct fd' file descriptor table entry data structure in preparation for making it public. Also added a version field so that user code can handle changes to it gracefully. The default file is no longer a BCPL pointer to a file handle by default, but both a BPTR and a socket identifier, wrapped into a union. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15160 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdio_initializefd.c,v 1.6 2006-01-08 12:04:24 obarthel Exp $
|
||||
* $Id: stdio_initializefd.c,v 1.7 2006-10-10 13:39:26 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -49,6 +49,7 @@ __initialize_fd(
|
||||
|
||||
memset(fd,0,sizeof(*fd));
|
||||
|
||||
fd->fd_Version = 1;
|
||||
fd->fd_DefaultFile = default_file;
|
||||
fd->fd_Flags = flags;
|
||||
fd->fd_Action = action_function;
|
||||
|
||||
Reference in New Issue
Block a user