Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/sys
File: shm.h
/* Copyright (C) 1995-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _SYS_SHM_H
[17] Fix | Delete
#define _SYS_SHM_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <features.h>
[20] Fix | Delete
[21] Fix | Delete
#define __need_size_t
[22] Fix | Delete
#include <stddef.h>
[23] Fix | Delete
[24] Fix | Delete
/* Get common definition of System V style IPC. */
[25] Fix | Delete
#include <sys/ipc.h>
[26] Fix | Delete
[27] Fix | Delete
/* Get system dependent definition of `struct shmid_ds' and more. */
[28] Fix | Delete
#include <bits/shm.h>
[29] Fix | Delete
[30] Fix | Delete
/* Define types required by the standard. */
[31] Fix | Delete
#include <bits/types/time_t.h>
[32] Fix | Delete
[33] Fix | Delete
#ifdef __USE_XOPEN
[34] Fix | Delete
# ifndef __pid_t_defined
[35] Fix | Delete
typedef __pid_t pid_t;
[36] Fix | Delete
# define __pid_t_defined
[37] Fix | Delete
# endif
[38] Fix | Delete
#endif /* X/Open */
[39] Fix | Delete
[40] Fix | Delete
[41] Fix | Delete
__BEGIN_DECLS
[42] Fix | Delete
[43] Fix | Delete
/* The following System V style IPC functions implement a shared memory
[44] Fix | Delete
facility. The definition is found in XPG4.2. */
[45] Fix | Delete
[46] Fix | Delete
/* Shared memory control operation. */
[47] Fix | Delete
extern int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW;
[48] Fix | Delete
[49] Fix | Delete
/* Get shared memory segment. */
[50] Fix | Delete
extern int shmget (key_t __key, size_t __size, int __shmflg) __THROW;
[51] Fix | Delete
[52] Fix | Delete
/* Attach shared memory segment. */
[53] Fix | Delete
extern void *shmat (int __shmid, const void *__shmaddr, int __shmflg)
[54] Fix | Delete
__THROW;
[55] Fix | Delete
[56] Fix | Delete
/* Detach shared memory segment. */
[57] Fix | Delete
extern int shmdt (const void *__shmaddr) __THROW;
[58] Fix | Delete
[59] Fix | Delete
__END_DECLS
[60] Fix | Delete
[61] Fix | Delete
#endif /* sys/shm.h */
[62] Fix | Delete
[63] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function