diff options
Diffstat (limited to 'winsup/cygwin/socket_tests/scm_rights.h')
-rw-r--r-- | winsup/cygwin/socket_tests/scm_rights.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/winsup/cygwin/socket_tests/scm_rights.h b/winsup/cygwin/socket_tests/scm_rights.h new file mode 100644 index 000000000..fb779537a --- /dev/null +++ b/winsup/cygwin/socket_tests/scm_rights.h @@ -0,0 +1,21 @@ +/*************************************************************************\ +* Copyright (C) Michael Kerrisk, 2018. * +* * +* This program is free software. You may use, modify, and redistribute it * +* under the terms of the GNU General Public License as published by the * +* Free Software Foundation, either version 3 or (at your option) any * +* later version. This program is distributed without any warranty. See * +* the file COPYING.gpl-v3 for details. * +\*************************************************************************/ + +/* Supplementary program for Chapter 61 */ + +/* scm_rights.h + + Header file used by scm_rights_send.c and scm_rights_recv.c. +*/ +#include <fcntl.h> +#include "unix_sockets.h" /* Declares our unix*() socket functions */ +#include "af_unix_hdr.h" + +#define SOCK_PATH "/tmp/scm_rights" |