4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-10 19:19:12 +08:00
Corinna Vinschen 6e623e9320 Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause.

Everything else stays under GPLv3+.

New Linking Exception exempts resulting executables from LGPLv3 section 4.

Add CONTRIBUTORS file to keep track of licensing.

Remove 'Copyright Red Hat Inc' comments.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-06-23 10:09:17 +02:00

93 lines
1.3 KiB
C

/* cygwin/sysproto.h
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
/* cygwin/sysproto.h header file for Cygwin. */
#ifndef _CYGWIN_SYSPROTO_H
#define _CYGWIN_SYSPROTO_H
#define _SYS_SYSPROTO_H_ /* Keep it, used by BSD files */
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h>
struct msgctl_args {
int msqid;
int cmd;
struct msqid_ds *buf;
};
struct msgget_args {
key_t key;
int msgflg;
};
struct msgrcv_args {
int msqid;
void *msgp;
size_t msgsz;
long msgtyp;
int msgflg;
};
struct msgsnd_args {
int msqid;
const void *msgp;
size_t msgsz;
int msgflg;
};
struct semctl_args {
int semid;
int semnum;
int cmd;
union semun *arg;
};
struct semget_args {
key_t key;
int nsems;
int semflg;
};
struct semop_args {
int semid;
struct sembuf *sops;
size_t nsops;
};
struct shmat_args {
int shmid;
const void *shmaddr;
int shmflg;
};
struct shmctl_args {
int shmid;
int cmd;
struct shmid_ds *buf;
};
struct shmdt_args {
const void *shmaddr;
};
struct shmget_args {
key_t key;
size_t size;
int shmflg;
};
#ifdef __cplusplus
}
#endif
#endif /* _CYGWIN_SYSPROTO_H */