Support for the socketpair(2) system call was recently added for 2.3.0 . This change adds a sample application that demonstrates how it can be used. Fixes #25527 Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
8 lines
183 B
Makefile
8 lines
183 B
Makefile
#
|
|
# Copyright (c) 2020 Friedt Professional Engineering Services, Inc
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
socketpair_example: src/socketpair_example.c
|
|
$(CXX) $^ -o $@ -lpthread
|