summaryrefslogtreecommitdiffstats
path: root/external_libs/python/zmq/backend/cffi/_verify.c
blob: 547840eb4d788dc30f53ae2d628974b503f59ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <sys/un.h>
#include <string.h>

#include <zmq.h>
#include <zmq_utils.h>
#include "zmq_compat.h"

int get_ipc_path_max_len(void) {
    struct sockaddr_un *dummy;
    return sizeof(dummy->sun_path) - 1;
}