summaryrefslogtreecommitdiff
path: root/fatfs/doc/ja/write.html
blob: 35da3fa948f81cfde0491bc2fc224c658ad8c6b1 (plain)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="up" title="FatFs" href="../00index_j.html">
<link rel="alternate" hreflang="en" title="English" href="../en/write.html">
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
<title>FatFs - f_write</title>
</head>

<body>

<div class="para func">
<h2>f_write</h2>
<p>�t�@�C���Ƀf�[�^���������݂܂��B</p>
<pre>
FRESULT f_write (
  FIL* <span class="arg">fp</span>,           <span class="c">/* [IN] �t�@�C���E�I�u�W�F�N�g */</span>
  const void* <span class="arg">buff</span>,  <span class="c">/* [IN] �������݃f�[�^ */</span>
  UINT <span class="arg">btw</span>,          <span class="c">/* [IN] �������ރo�C�g�� */</span>
  UINT* <span class="arg">bw</span>           <span class="c">/* [OUT] �������܂ꂽ�o�C�g�� */</span>
);
</pre>
</div>

<div class="para arg">
<h4>����</h4>
<dl class="par">
<dt>fp</dt>
<dd>�t�@�C���E�I�u�W�F�N�g�\���̂ւ̃|�C���^���w�肵�܂��B</dd>
<dt>buff</dt>
<dd>�������ރf�[�^���i�[�����o�b�t�@���w���|�C���^���w�肵�܂��B</dd>
<dt>btw</dt>
<dd>�������ރo�C�g��(0�`<tt>UINT</tt>�^�̍ő�l)���w�肵�܂��B</dd>
<dt>bw</dt>
<dd>�������܂ꂽ�o�C�g�����i�[����ϐ����w���|�C���^���w�肵�܂��B�߂�l�͊֐��̐��ۂɂ�����炸��ɗL���ł��B</dd>
</dl>
</div>


<div class="para ret">
<h4>�߂�l</h4>
<p>
<a href="rc.html#ok">FR_OK</a>,
<a href="rc.html#de">FR_DISK_ERR</a>,
<a href="rc.html#ie">FR_INT_ERR</a>,
<a href="rc.html#nr">FR_NOT_READY</a>,
<a href="rc.html#de">FR_DENIED</a>,
<a href="rc.html#io">FR_INVALID_OBJECT</a>,
<a href="rc.html#tm">FR_TIMEOUT</a>
</p>
</div>


<div class="para desc">
<h4>���</h4>
<p>�������݊J�n�ʒu�́A���[�h/���C�g�E�|�C���^�̈ʒu����ɂȂ�܂��B���[�h/���C�g�E�|�C���^�͎��ۂɏ������܂ꂽ�o�C�g�������i�݂܂��B�֐�������I��������A�v�������o�C�g�����������܂ꂽ���ǂ���<tt class="arg">*bw</tt>���`�F�b�N���ׂ��ł��B<tt class="arg">*bw</tt>��<tt class="arg">btw</tt>��菬�����Ƃ��́A�f�B�X�N�E�t�����Ӗ����܂��B�f�B�X�N�E�t�����������Ă���Ƃ��܂��͂���ɋ߂��Ƃ��́A���䂪�A��܂Ŏ��Ԃ�������ꍇ������܂��B</p>
</div>


<div class="para comp">
<h4>�Ή����</h4>
<p><tt>_FS_READONLY == 0</tt>�̂Ƃ��Ɏg�p�”\�ł��B</p>
</div>


<div class="para ref">
<h4>�Q��</h4>
<p><tt><a href="open.html">f_open</a>, <a href="read.html">f_read</a>, <a href="putc.html">fputc</a>, <a href="puts.html">fputs</a>, <a href="printf.html">fprintf</a>, <a href="close.html">f_close</a>, <a href="sfile.html">FIL</a></tt></p>
</div>

<p class="foot"><a href="../00index_j.html">�߂�</a></p>
</body>
</html>