utime.h revision 25520
1104834Sobrien/*- 299461Sobrien * Copyright (c) 1990, 1993 3104834Sobrien * The Regents of the University of California. All rights reserved. 4104834Sobrien * 5104834Sobrien * Redistribution and use in source and binary forms, with or without 6104834Sobrien * modification, are permitted provided that the following conditions 7104834Sobrien * are met: 8104834Sobrien * 1. Redistributions of source code must retain the above copyright 9104834Sobrien * notice, this list of conditions and the following disclaimer. 10104834Sobrien * 2. Redistributions in binary form must reproduce the above copyright 11104834Sobrien * notice, this list of conditions and the following disclaimer in the 12104834Sobrien * documentation and/or other materials provided with the distribution. 13104834Sobrien * 3. All advertising materials mentioning features or use of this software 14104834Sobrien * must display the following acknowledgement: 15104834Sobrien * This product includes software developed by the University of 16104834Sobrien * California, Berkeley and its contributors. 17104834Sobrien * 4. Neither the name of the University nor the names of its contributors 18104834Sobrien * may be used to endorse or promote products derived from this software 19104834Sobrien * without specific prior written permission. 20104834Sobrien * 21104834Sobrien * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22104834Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23104834Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24104834Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25104834Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26104834Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27104834Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28104834Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29104834Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30104834Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31104834Sobrien * SUCH DAMAGE. 32104834Sobrien * 33104834Sobrien * @(#)utime.h 8.1 (Berkeley) 6/2/93 34104834Sobrien */ 35104834Sobrien 36104834Sobrien#ifndef _UTIME_H_ 37104834Sobrien#define _UTIME_H_ 38104834Sobrien 39104834Sobrien#include <sys/types.h> 40104834Sobrien 41104834Sobrienstruct utimbuf { 42104834Sobrien time_t actime; /* Access time */ 43104834Sobrien time_t modtime; /* Modification time */ 44104834Sobrien}; 45104834Sobrien 46104834Sobrien#include <sys/cdefs.h> 47104834Sobrien 48104834Sobrien__BEGIN_DECLS 49104834Sobrienint utime __P((const char *, const struct utimbuf *)); 50104834Sobrien__END_DECLS 51104834Sobrien 52104834Sobrien#endif /* !_UTIME_H_ */ 53104834Sobrien