From ff00eac2401732e9efb6170ffb90100dcf6332a7 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 23 Apr 2024 07:14:25 -0700 Subject: Move some supplemental APIs to reduce friction in using them. The supplemental/util/platform.h is kind of a pain, so we move move the prototypes for commonly used functions out of there, into nng.h proper. --- docs/man/nng_socket_pair.3supp.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/man/nng_socket_pair.3supp.adoc') diff --git a/docs/man/nng_socket_pair.3supp.adoc b/docs/man/nng_socket_pair.3supp.adoc index 68b4a943..7718e27b 100644 --- a/docs/man/nng_socket_pair.3supp.adoc +++ b/docs/man/nng_socket_pair.3supp.adoc @@ -1,6 +1,6 @@ = nng_socket_pair(3supp) // -// Copyright 2023 Staysail Systems, Inc. +// Copyright 2024 Staysail Systems, Inc. // // This document is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -17,7 +17,6 @@ nng_socket_pair - create a connected pair of BSD sockets [source, c] ---- #include -#include int nng_socket_pair(int fds[2]); ---- @@ -34,7 +33,7 @@ using the `AF_UNIX` family and the `SOCK_STREAM` socket type. NOTE: At present only POSIX platforms implementing `socketpair()` are supported with this function. TIP: This function may be useful for creating a shared connection between a parent process and -a child process on UNIX platforms, without requiring the processes use a shared filesystem or TCP connection. +a child process on UNIX platforms, without requiring a shared filesystem or TCP connection. == RETURN VALUES -- cgit v1.2.3-70-g09d2