utime.h revision 93032
125184Sjkh/*-
225184Sjkh * Copyright (c) 1990, 1993
333682Sbrian *	The Regents of the University of California.  All rights reserved.
425184Sjkh *
525184Sjkh * Redistribution and use in source and binary forms, with or without
625184Sjkh * modification, are permitted provided that the following conditions
725184Sjkh * are met:
825184Sjkh * 1. Redistributions of source code must retain the above copyright
925184Sjkh *    notice, this list of conditions and the following disclaimer.
1025184Sjkh * 2. Redistributions in binary form must reproduce the above copyright
1125184Sjkh *    notice, this list of conditions and the following disclaimer in the
1225184Sjkh *    documentation and/or other materials provided with the distribution.
1325184Sjkh * 3. All advertising materials mentioning features or use of this software
1425184Sjkh *    must display the following acknowledgement:
1525184Sjkh *	This product includes software developed by the University of
1625184Sjkh *	California, Berkeley and its contributors.
1725184Sjkh * 4. Neither the name of the University nor the names of its contributors
1825184Sjkh *    may be used to endorse or promote products derived from this software
1925184Sjkh *    without specific prior written permission.
2025184Sjkh *
2125184Sjkh * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2225184Sjkh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2325184Sjkh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2425184Sjkh * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2525184Sjkh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2625184Sjkh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2725184Sjkh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2825184Sjkh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2925184Sjkh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3025184Sjkh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3133682Sbrian * SUCH DAMAGE.
3225184Sjkh *
3325184Sjkh *	@(#)utime.h	8.1 (Berkeley) 6/2/93
3425184Sjkh * $FreeBSD: head/include/utime.h 93032 2002-03-23 17:24:55Z imp $
3525184Sjkh */
3625184Sjkh
3725184Sjkh#ifndef	_UTIME_H_
3825184Sjkh#define	_UTIME_H_
3925184Sjkh
4025184Sjkhstruct utimbuf {
4125184Sjkh	time_t actime;		/* Access time */
4225184Sjkh	time_t modtime;		/* Modification time */
4325184Sjkh};
4425184Sjkh
4525184Sjkh#include <sys/cdefs.h>
4625184Sjkh
4725184Sjkh__BEGIN_DECLS
4825184Sjkhint utime(const char *, const struct utimbuf *);
4925184Sjkh__END_DECLS
5025184Sjkh
5125184Sjkh#endif /* !_UTIME_H_ */
5225184Sjkh