sockatmark.c\network\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/network/sockatmark.c
blob: f474551aafe44b15eb90fd19b37fef5696d6a3a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <sys/socket.h>
#include <sys/ioctl.h>
int sockatmark(int s)
{
	int ret;
	if (ioctl(s, SIOCATMARK, &ret) < 0)
		return -1;
	return ret;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月27日 07:50:38 +0000

AltStyle によって変換されたページ (->オリジナル) /