utime.h revision 203964
1351280Sdim/*-
2351280Sdim * Copyright (c) 1990, 1993
3351280Sdim *	The Regents of the University of California.  All rights reserved.
4351280Sdim *
5351280Sdim * Redistribution and use in source and binary forms, with or without
6351280Sdim * modification, are permitted provided that the following conditions
7351280Sdim * are met:
8351280Sdim * 1. Redistributions of source code must retain the above copyright
9351280Sdim *    notice, this list of conditions and the following disclaimer.
10351280Sdim * 2. Redistributions in binary form must reproduce the above copyright
11351280Sdim *    notice, this list of conditions and the following disclaimer in the
12351280Sdim *    documentation and/or other materials provided with the distribution.
13351280Sdim * 3. Neither the name of the University nor the names of its contributors
14351280Sdim *    may be used to endorse or promote products derived from this software
15351280Sdim *    without specific prior written permission.
16351280Sdim *
17351280Sdim * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18351280Sdim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19351280Sdim * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20351280Sdim * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21351280Sdim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22351280Sdim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23351280Sdim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24351280Sdim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25351280Sdim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26351280Sdim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27351280Sdim * SUCH DAMAGE.
28351280Sdim *
29351280Sdim *	@(#)utime.h	8.1 (Berkeley) 6/2/93
30351280Sdim * $FreeBSD: head/include/utime.h 203964 2010-02-16 19:39:50Z imp $
31351280Sdim */
32351280Sdim
33351280Sdim#ifndef	_UTIME_H_
34351280Sdim#define	_UTIME_H_
35351280Sdim
36351280Sdim#include <sys/cdefs.h>
37351280Sdim#include <sys/_types.h>
38351280Sdim
39351280Sdim#ifndef _TIME_T_DECLARED
40351280Sdimtypedef	__time_t	time_t;
41351280Sdim#define	_TIME_T_DECLARED
42351280Sdim#endif
43351280Sdim
44351280Sdimstruct utimbuf {
45351280Sdim	time_t actime;		/* Access time */
46351280Sdim	time_t modtime;		/* Modification time */
47351280Sdim};
48351280Sdim
49351280Sdim__BEGIN_DECLS
50351280Sdimint utime(const char *, const struct utimbuf *);
51351280Sdim__END_DECLS
52351280Sdim
53351280Sdim#endif /* !_UTIME_H_ */
54351280Sdim