File: fdatasync.2

package info (click to toggle)
manpages-ja 0.4.0.0.20020315-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 14,808 kB
  • ctags: 4
  • sloc: sh: 9,595; perl: 157; makefile: 62
file content (106 lines) | stat: -rw-r--r-- 3,478 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.\" Hey Emacs! This file is -*- nroff -*- source.
.\"
.\" Copyright (C) 1996 Andries Brouwer (aeb@cwi.nl)
.\" Copyright (C) 1996 Markus Kuhn.
.\"
.\" [This version merged from two independently written pages - aeb]
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one
.\" 
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date.  The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein.  The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\" 
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.\" 1996-04-12  Andries Brouwer <aeb@cwi.nl>
.\" 1996-04-13  Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
.\"
.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
.\"         all rights reserved.
.\" Translated Sat Feb 22 20:10:07 JST 1997
.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\" Modified Mon May  5 19:46:46 JST 1997
.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\"
.\"WORD:	core			
.\"WORD:	synchronize		Ʊ
.\"WORD:	buffer			Хåե
.\"WORD:	flush			եå
.\"WORD:	access time		
.\"WORD:	database		ǡ١
.\"WORD:	modification time	
.\"WORD:	inode			inode
.\"WORD:	descriptor		ǥץ
.\"
.TH FDATASYNC 2 "13 April 1996" "Linux 1.3.86" "Linux Programmer's Manual"
.SH ̾
fdatasync \- եΥΥǡǥΤΤƱ
.SH 
.B #include <unistd.h>
.sp
.B #ifdef _POSIX_SYNCHRONIZED_IO
.sp
.BI "int fdatasync(int " fd );
.sp
.B #endif
.SH 
.B fdatasync
(ƥࡦ뤫)եƤΥǡХåե
ǥ˥եå(flush)롣
.B fsync
˻Ƥ뤬Τ褦ʥ᥿ǡ򹹿ʤ

ǡ١˥ꡢե˽񤭹褦
ץꥱϤФоʥǡ(㤨Хեΰ)
񤭹ߡ줬ϡɥǥʪŪ˳Ǽ뤳Ȥݾڤ
ˡ
.B fsync
ƤӽФԹʤȤˡ
.B fsync
Ͼν񤭹Ԥʤ: ĤϿ񤭹ޤ줿ǡ
⤦Ĥ inode ν򹹿뤿ˡ郎ȥ饶󥯥
˴طʤС
.B fdatasync
Ѥ뤳Ȥɬפʥǥؤ inode ν񤭹߽
򤱤뤳ȤǤ롣
.SH ֤
ϥ֤롣顼ξ \-1 ֤
.I errno
Ŭڤͤꤵ롣
.SH 顼
.TP
.B EBADF
.I fd
ͭʽ񤭹ߤΤ˥ץ󤵤줿ե롦ǥץǤʤ
.TP
.BR EROFS ", " EINVAL
.I fd
Ʊ򥵥ݡȤƤʤüʥե򻲾ȤƤ롣
.TP
.B EIO
Ʊδ֤˥顼ä
.SH Х
(Linux 2.2)ΤȤ
.B fdatasync

.BR fsync 


.SH 
POSIX1b ( POSIX.4)
.SH Ϣ
.BR fsync (2),
B.O. Gallmeister, POSIX.4, O'Reilly, pp. 220-223 and 343.