]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - doc/technical/fd-management.txt
Update MLOCK protocol documentation to match changes in code
[irc/rqf/shadowircd.git] / doc / technical / fd-management.txt
index 02c3f582d2721474a4a0115030fba608a26c0bc6..fba21637d9315a96e2949df293f322b4d9d0acd9 100644 (file)
@@ -1,7 +1,6 @@
 Overview of the filedescriptor subsystem
 Adrian Chadd <adrian@creative.net.au>
 
-$Id: fd-management.txt 6 2005-09-10 01:02:21Z nenolod $
 
 
 Filedescriptor lists
@@ -45,37 +44,3 @@ sockets also need polling frequently, BUSYCLIENT is for busy clients
 which need frequent polling (eg we're trying to write to them), and
 IDLECLIENT is for clients which we don't need to poll frequently.
 THIS hasn't been decided upon yet.
-
-
-
-File operations
----------------
-
-The file operations are also wrapped through file_open() and file_close()
-which handle calling fd_open() / fd_close() and tracking the filedescriptors
-correctly. fbopen() / fbclose() use file_open() / file_close() too.
-
-fileio.c defines the functions:
-
-int
-file_open(const char *filename, int mode, int fmode)
-
-A wrapper around open(filename, flags, mode). Read the open manpage for
-information. file_open() enforces filedescriptor limits and tags the FD
-through fd_open().
-
-void
-file_close(int fd)
-
-A wrapper around close() for files. close() handles fd_close()ing the fd.
-
-
-FBFILE *
-fbopen(const char *filename, const char *mode)
-
-void
-fbclose(FBFILE *fb)
-
-These are the 'buffered disk IO' routines. You can read the code yourself.
-Note that these routines use file_open() and file_close().
-