clearsockprefix()
QNX SDP8.0C Library ReferenceAPIDeveloper
Set to NULL the prefix for the networking stack path for the current thread
Synopsis:
#include <sys/socket.h>
int clearsockprefix( void );
Library:
libsocket
Use the -l socket option to qcc to link against this library.
Description:
The clearsockprefix() function clears any prefix for the networking stack path set by setsockprefix(). The prefix used reverts to the one specified by the SOCK environment variable.
Returns:
- EOK
- Success.
- ENOMEM
- Insufficient memory to store thread-specific path prefix value.
- EINVAL
- Socket path prefix has not been set on this thread.
Classification:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | No |
Thread | Yes |
Page updated: