master
/ .localenv / lib / python3.5 / site-packages / zmq / backend / cffi / _verify.c

_verify.c @master raw · history · blame

#include <stdio.h>
#include <sys/un.h>
#include <string.h>

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

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