| Updated: October 28, 2024 | 
Set to NULL the prefix for the networking stack path for the current thread
#include <sys/socket.h> int clearsockprefix(void);
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.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes |