File: usleep.h

package info (click to toggle)
photopc 3.05-7
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 624 kB
  • ctags: 569
  • sloc: ansic: 6,242; sh: 330; makefile: 173
file content (42 lines) | stat: -rw-r--r-- 939 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
	$Id: usleep.h,v 2.2 1998/10/18 13:18:27 crosser Exp $
*/

/*
	Copyright (c) 1997,1998 Eugene G. Crosser
	Copyright (c) 1998 Bruce D. Lightner (DOS/Windows support)

	You may distribute and/or use for any purpose modified or unmodified
	copies of this software if you preserve the copyright notice above.

	THIS SOFTWARE IS PROVIDED AS IS AND COME WITH NO WARRANTY OF ANY
	KIND, EITHER EXPRESSED OR IMPLIED.  IN NO EVENT WILL THE
	COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING FROM THE
	USE OF THIS SOFTWARE.
*/

/*
	$Log: usleep.h,v $
	Revision 2.2  1998/10/18 13:18:27  crosser
	Put RCS logs and I.D. into the source

	Revision 2.1  1998/01/18 02:16:45  crosser
	DOS support
	
	Revision 2.0  1998/01/02 19:20:11  crosser
	Added support for Win32
	
*/

#ifndef _USLEEP_H
#define _USLEEP_H

void usleep(long usecs);

#ifdef DOS
extern double delay_factor;
void start_time(void);
unsigned long elasped_usecs(void);
#endif

#endif