diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-14 17:28:38 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-14 17:28:38 +0000 |
commit | 3814b2bb4def911b631707b7458f330456f19582 (patch) | |
tree | 33924a2b6b20680498dbc18e0c79c7b69cdc9079 /ace/IPC_SAP.cpp | |
parent | 2e6b4fd57db5c26866d07ebcd9e2fa1d71f212ee (diff) | |
download | ATCD-3814b2bb4def911b631707b7458f330456f19582.tar.gz |
used ACE_NOTSUP_RETURN instead of setting errno explicitly
Diffstat (limited to 'ace/IPC_SAP.cpp')
-rw-r--r-- | ace/IPC_SAP.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ace/IPC_SAP.cpp b/ace/IPC_SAP.cpp index 0c7ac720f1a..e06647708ec 100644 --- a/ace/IPC_SAP.cpp +++ b/ace/IPC_SAP.cpp @@ -52,8 +52,7 @@ ACE_IPC_SAP::enable (int signum) const return ACE_OS::ioctl (this->handle_, FIONBIO, &nonblock); } default: - errno = ENOTSUP; - return -1; + ACE_NOTSUP_RETURN (-1); } #else switch (signum) @@ -112,8 +111,7 @@ ACE_IPC_SAP::disable (int signum) const return ACE_OS::ioctl (this->handle_, FIONBIO, &nonblock); } default: - errno = ENOTSUP; - return -1; + ACE_NOTSUP_RETURN (-1); } #else switch (signum) |