This is setitimer.c in view mode; [Download] [Up]
#ifndef LINT
static char rcsid[] = "$Id: setitimer.c,v 8.1 1994/12/15 06:23:51 vixie Exp $";
#endif
/*
* Setitimer emulation routine for UNICOS BIND.
*/
#if !defined(_CRAY)
int __bindcompat_setitimer;
#else
#include <sys/time.h>
int
__setitimer(int which, const struct itimerval *value,
struct itimerval *ovalue)
{
if (alarm(value->it_value.tv_sec) >= 0)
return (0);
else
return (-1);
}
#endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.