Sync with the original version. Unify some japanese words. Submitted by: kano@na.rim.or.jp
95 lines
3 KiB
Groff
95 lines
3 KiB
Groff
.\" Copyright (c) 1980, 1991, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)utime.3 8.1 (Berkeley) 6/4/93
|
|
.\" %FreeBSD: src/lib/libc/gen/utime.3,v 1.5.2.4 2001/12/14 18:33:51 ru Exp %
|
|
.\"
|
|
.\" $FreeBSD$
|
|
.Dd June 4, 1993
|
|
.Dt UTIME 3
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm utime
|
|
.Nd ¥Õ¥¡¥¤¥ë¤Î»þ´Ö¤òÀßÄê
|
|
.Sh ¥é¥¤¥Ö¥é¥ê
|
|
.Lb libc
|
|
.Sh ½ñ¼°
|
|
.In sys/types.h
|
|
.In utime.h
|
|
.Ft int
|
|
.Fn utime "const char *file" "const struct utimbuf *timep"
|
|
.Sh ²òÀâ
|
|
.Bf -symbolic
|
|
¤³¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï
|
|
.Xr utimes 2
|
|
¤Ë¤è¤Ã¤ÆÃÖ¤´¹¤¨¤é¤ì¤Þ¤·¤¿¡£
|
|
.Ef
|
|
.Pp
|
|
.Fn utime
|
|
´Ø¿ô¤Ï¡¢°ú¿ôÇÛÎó
|
|
.Fa timep
|
|
¤ÎÃæ¤Î¹½Â¤ÂΤ«¤é̾Á°¤Ç»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤Î¥¢¥¯¥»¥¹¤ª¤è¤Ó
|
|
½¤Àµ¤Î»þ´Ö¤òÀßÄꤷ¤Þ¤¹¡£
|
|
.Pp
|
|
»þ¹ï¤¬»ØÄꤵ¤ì¤¿¾ì¹ç ( °ú¿ô
|
|
.Fa timep
|
|
¤¬
|
|
.Dv NULL
|
|
¤Ç¤Ê¤¤¾ì¹ç ) ¤Ï¡¢¸Æ¤Ó½Ð¤·¸µ¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¤Î½êͼԤǤ¢¤ë¤«¡¢
|
|
¤Þ¤¿¤Ï¥¹¡¼¥Ñ¥æ¡¼¥¶¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
|
|
.Pp
|
|
»þ¹ï¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç ( °ú¿ô
|
|
.Fa timep
|
|
¤¬
|
|
.Dv NULL
|
|
¤Î¾ì¹ç ) ¤Ï¡¢¸Æ¤Ó½Ð¤·¸µ¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¤Î½êͼԤǤ¢¤ë¤«¡¢
|
|
¤½¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¹þ¤ß¤òµö¤µ¤ì¤Æ¤¤¤ë¤«¡¢
|
|
¤Þ¤¿¤Ï¥¹¡¼¥Ñ¥æ¡¼¥¶¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
|
|
.Sh ¥¨¥é¡¼
|
|
.Fn utime
|
|
´Ø¿ô¤¬¼ºÇÔ¤¹¤ë¤È¡¢¥é¥¤¥Ö¥é¥ê´Ø¿ô
|
|
.Xr utimes 2
|
|
¤Ë¤Ä¤¤¤Æ»ØÄꤵ¤ì¤¿¥¨¥é¡¼¤ËÂФ¹¤ë
|
|
.Va errno
|
|
¤¬ÀßÄꤵ¤ì¤Þ¤¹¡£
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr stat 2 ,
|
|
.Xr utimes 2
|
|
.Sh Îò»Ë
|
|
.Fn utime
|
|
´Ø¿ô¤Ï
|
|
.At v7
|
|
¤ÇÅо줷¤Þ¤·¤¿¡£
|
|
.Sh µ¬³Ê
|
|
.Fn utime
|
|
´Ø¿ô¤Ï¡¢
|
|
.St -p1003.1-88
|
|
¤ËŬ¹ç¤·¤Æ¤¤¤Þ¤¹¡£
|