summaryrefslogtreecommitdiff
path: root/ace/IO_SAP.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-07-16 21:12:01 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-07-16 21:12:01 +0000
commit85fe0808800d35faa7d0b03cd441d9cdd809643f (patch)
tree5444e19fac4a67371be4f914eb7add7fda5461a8 /ace/IO_SAP.h
parent02c47e2719eaeac474b5aaa95b4d029a8d8e7fbd (diff)
downloadATCD-85fe0808800d35faa7d0b03cd441d9cdd809643f.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/IO_SAP.h')
-rw-r--r--ace/IO_SAP.h30
1 files changed, 17 insertions, 13 deletions
diff --git a/ace/IO_SAP.h b/ace/IO_SAP.h
index 50f5af6e0d7..421fb06e468 100644
--- a/ace/IO_SAP.h
+++ b/ace/IO_SAP.h
@@ -1,7 +1,6 @@
/* -*- C++ -*- */
// $Id$
-
// ============================================================================
//
// = LIBRARY
@@ -23,8 +22,8 @@
class ACE_Export ACE_IO_SAP
{
// = TITLE
- // Defines the member functions for the base class of the ACE_IO_SAP
- // abstraction.
+ // Defines the methods for the base class of the <ACE_IO_SAP>
+ // abstraction, which includes <ACE_FILE> and <ACE_DEV>.
public:
enum
{
@@ -37,18 +36,23 @@ public:
int control (int cmd, void *) const;
// Interface for ioctl.
- // = Methods for manipulating common I/O descriptor options related to
- // files.
- int enable (int signum) const;
- // Enable signal <signum>.
- int disable (int signum) const;
- // Disable signal <signum>.
+ // = Common I/O handle options related to files.
+
+ int enable (int value) const;
+ // Enable asynchronous I/O (ACE_SIGIO), urgent data (ACE_SIGURG),
+ // non-blocking I/O (ACE_NONBLOCK), or close-on-exec (ACE_CLOEXEC),
+ // which is passed as the <value>.
+
+ int disable (int value) const;
+ // Disable asynchronous I/O (ACE_SIGIO), urgent data (ACE_SIGURG),
+ // non-blocking I/O (ACE_NONBLOCK), or close-on-exec (ACE_CLOEXEC),
+ // which is passed as the <value>.
ACE_HANDLE get_handle (void) const;
- // Get the underlying descriptor.
+ // Get the underlying handle.
void set_handle (ACE_HANDLE handle);
- // Set the underlying descriptor.
+ // Set the underlying handle.
void dump (void) const;
// Dump the state of an object.
@@ -62,7 +66,7 @@ protected:
private:
ACE_HANDLE handle_;
- // Underlying I/O descriptor.
+ // Underlying I/O handle.
static pid_t pid_;
// Cache the process ID.
@@ -70,6 +74,6 @@ private:
#if !defined (ACE_LACKS_INLINE_FUNCTIONS)
#include "ace/IO_SAP.i"
-#endif
+#endif /* ACE_LACKS_INLINE_FUNCTIONS */
#endif /* ACE_IO_SAP_H */