Files
Arquivotheca.SunOS-4.1.4/usr.lib/libsunwindow/notify/nint_get.c
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

32 lines
563 B
C

#ifndef lint
#ifdef sccs
static char sccsid[] = "@(#)nint_get.c 1.1 94/10/31 Copyr 1985 Sun Micro";
#endif
#endif
/*
* Copyright (c) 1985 by Sun Microsystems, Inc.
*/
/*
* Nint_get.c - Implement the nint_get_func private interface.
*/
#include <sunwindow/ntfy.h>
#include <sunwindow/ndet.h>
#include <sunwindow/nint.h>
pkg_private Notify_func
nint_get_func(cond)
register NTFY_CONDITION *cond;
{
Notify_func func;
if (cond->func_count > 1)
func = cond->callout.functions[cond->func_count-1];
else
func = cond->callout.function;
return(func);
}