1301763Sjilles/*- 2301763Sjilles * Copyright (c) 2016 Jilles Tjoelker <jilles@FreeBSD.org> 3301763Sjilles * All rights reserved. 4301763Sjilles * 5301763Sjilles * Redistribution and use in source and binary forms, with or without 6301763Sjilles * modification, are permitted provided that the following conditions 7301763Sjilles * are met: 8301763Sjilles * 1. Redistributions of source code must retain the above copyright 9301763Sjilles * notice, this list of conditions and the following disclaimer. 10301763Sjilles * 2. Redistributions in binary form must reproduce the above copyright 11301763Sjilles * notice, this list of conditions and the following disclaimer in the 12301763Sjilles * documentation and/or other materials provided with the distribution. 13301763Sjilles * 14301763Sjilles * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15301763Sjilles * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16301763Sjilles * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17301763Sjilles * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18301763Sjilles * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19301763Sjilles * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20301763Sjilles * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21301763Sjilles * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22301763Sjilles * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23301763Sjilles * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24301763Sjilles * SUCH DAMAGE. 25301763Sjilles * 26301763Sjilles * $FreeBSD: releng/11.0/tools/build/stat.h 301763 2016-06-09 21:57:34Z jilles $ 27301763Sjilles */ 28301763Sjilles 29301763Sjilles#ifndef _LEGACY_SYS_STAT_H_ 30301763Sjilles#define _LEGACY_SYS_STAT_H_ 31301763Sjilles 32301763Sjilles#include_next <sys/stat.h> 33301763Sjilles 34301763Sjilles#ifndef UTIME_NOW 35301763Sjilles#define UTIME_NOW -1 36301763Sjilles#define UTIME_OMIT -2 37301763Sjilles#endif 38301763Sjilles 39301763Sjilles__BEGIN_DECLS 40301763Sjilles 41301763Sjillesint futimens(int, const struct timespec *); 42301763Sjillesint utimensat(int, const char *, const struct timespec *, int); 43301763Sjilles 44301763Sjilles__END_DECLS 45301763Sjilles 46301763Sjilles#endif /* !_LEGACY_SYS_STAT_H_ */ 47