msgsnd.c\ipc\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/ipc/msgsnd.c
blob: 23f4a4cbf58cc204343eb8fedb34f83bc2bd4de0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <sys/msg.h>
#include "syscall.h"
#include "ipc.h"
#include "libc.h"
int msgsnd(int q, const void *m, size_t len, int flag)
{
#ifdef SYS_msgsnd
	return syscall_cp(SYS_msgsnd, q, m, len, flag);
#else
	return syscall_cp(SYS_ipc, IPCOP_msgsnd, q, len, flag, m);
#endif
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月03日 04:54:09 +0000

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