shmop.2: Add license to example programs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-04-12 09:02:08 +02:00
parent 78391fde75
commit 1a576c5858
1 changed files with 8 additions and 0 deletions

View File

@ -374,6 +374,10 @@ shared memory segment by the "writer".
.PP
.in +4n
.EX
/* svshm_string_read.c
Licensed under GNU General Public License v2 or later.
*/
#include "svshm_string.h"
int
@ -444,6 +448,10 @@ and then decrements the semaphore value to 0 in order to inform the
.PP
.in +4n
.EX
/* svshm_string_write.c
Licensed under GNU General Public License v2 or later.
*/
#include "svshm_string.h"
int