summaryrefslogtreecommitdiff
path: root/fatfs/doc/ja/read.html
blob: 04ef8b30f5e1003bceee610fb351e0e610d003d0 (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/read.html">
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
<title>FatFs - f_read</title>
</head>

<body>

<div class="para func">
<h2>f_read</h2>
<p>�t�@�C������f�[�^��ǂݏo���܂��B</p>
<pre>
FRESULT f_read (
  FIL* <span class="arg">fp</span>,     <span class="c">/* [IN] �t�@�C���E�I�u�W�F�N�g�\���� */</span>
  void* <span class="arg">buff</span>,  <span class="c">/* [OUT] �ǂݏo�����f�[�^���i�[����o�b�t�@ */</span>
  UINT <span class="arg">btr</span>,    <span class="c">/* [IN] �ǂݏo���o�C�g�� */</span>
  UINT* <span class="arg">br</span>     <span class="c">/* [OUT] �ǂݏo���ꂽ�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>�ǂݏo�����f�[�^���i�[����o�b�t�@���w���|�C���^���w�肵�܂��B</dd>
<dt>btr</dt>
<dd>�ǂݏo���o�C�g��(0�`<tt>UINT</tt>�^�̍ő�l)���w�肵�܂��B</dd>
<dt>br</dt>
<dd>���ۂɓǂݏo���ꂽ�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���^����ɂȂ�܂��B���[�h/���C�g�E�|�C���^�͓ǂݍ��܂ꂽ�o�C�g�������i�݂܂��B�֐�������I��������́A<tt class="arg">*br</tt>�̒l���`�F�b�N���ׂ��ł��B<tt class="arg">*br</tt>��<tt class="arg">btr</tt>�����������Ƃ��́A�ǂݍ��ݒ��Ƀt�@�C���̏I�[�ɒB�������Ƃ������Ă��܂��B</p>
</div>


<div class="para comp">
<h4>�Ή����</h4>
<p>�S�Ă̍\���Ŏg�p�”\�ł��B</p>
</div>


<div class="para ref">
<h4>�Q��</h4>
<p><tt><a href="open.html">f_open</a>, <a href="gets.html">fgets</a>, <a href="write.html">f_write</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>