Home
last modified time | relevance | path

Searched refs:eventmsgfile (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_events.c135 char eventmsgfile[MAXPATHLEN]; in nwam_events_init() local
140 (void) snprintf(eventmsgfile, sizeof (eventmsgfile), "%s.%d", in nwam_events_init()
151 (NWAM_REQUEST_TYPE_EVENT_REGISTER, eventmsgfile)) != NWAM_SUCCESS) { in nwam_events_init()
156 if ((key = ftok(eventmsgfile, 0)) == -1) { in nwam_events_init()
180 char eventmsgfile[MAXPATHLEN]; in nwam_events_fini() local
182 (void) snprintf(eventmsgfile, sizeof (eventmsgfile), "%s.%d", in nwam_events_fini()
188 (NWAM_REQUEST_TYPE_EVENT_UNREGISTER, eventmsgfile); in nwam_events_fini()
200 nwam_event_queue_init(const char *eventmsgfile) in nwam_event_queue_init() argument
205 if ((fd = open(eventmsgfile, O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1) in nwam_event_queue_init()
209 if ((key = ftok(eventmsgfile, 0)) == -1) in nwam_event_queue_init()
[all …]