17 lines
444 B
C
17 lines
444 B
C
/// @file ipc.h
|
|
/// @brief Vital IPC structures and functions kernel side.
|
|
/// @copyright (c) 2014-2024 This file is distributed under the MIT License.
|
|
/// See LICENSE.md for details.
|
|
|
|
#pragma once
|
|
|
|
#include "sys/ipc.h"
|
|
|
|
#ifndef __KERNEL__
|
|
#error "How did you include this file... include `libc/inc/sys/ipc.h` instead!"
|
|
#endif
|
|
|
|
int ipc_valid_permissions(int flags, struct ipc_perm *perm);
|
|
|
|
struct ipc_perm register_ipc(key_t key, mode_t mode);
|