mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-02 12:30:24 +08:00
27 lines
1.2 KiB
C
27 lines
1.2 KiB
C
/*************************************************************************\
|
|
* 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_multi.h
|
|
|
|
Header file used by scm_multi_send.c and scm_multi_recv.c.
|
|
*/
|
|
#define _GNU_SOURCE /* To get SCM_CREDENTIALS definition from
|
|
<sys/socket.h> */
|
|
#include <sys/stat.h>
|
|
#include <fcntl.h>
|
|
#include "unix_sockets.h" /* Declares our socket functions */
|
|
#include "af_unix_hdr.h"
|
|
|
|
#define SOCK_PATH "/tmp/scm_multi"
|
|
#define MAX_FDS 1024 /* Maximum number of file descriptors we'll
|
|
attempt to exchange in ancillary data */
|