UbixOS
2.0
ffs.h
Go to the documentation of this file.
1
/*****************************************************************************************
2
Copyright (c) 2002-2004 The UbixOS Project
3
All rights reserved.
4
5
Redistribution and use in source and binary forms, with or without modification, are
6
permitted provided that the following conditions are met:
7
8
Redistributions of source code must retain the above copyright notice, this list of
9
conditions, the following disclaimer and the list of authors. Redistributions in binary
10
form must reproduce the above copyright notice, this list of conditions, the following
11
disclaimer and the list of authors in the documentation and/or other materials provided
12
with the distribution. Neither the name of the UbixOS Project nor the names of its
13
contributors may be used to endorse or promote products derived from this software
14
without specific prior written permission.
15
16
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
19
THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
21
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
23
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
26
$Id: ffs.h 79 2016-01-11 16:21:27Z reddawg $
27
28
*****************************************************************************************/
29
30
#ifndef _FFS_H
31
#define _FFS_H
32
33
#include <
sys/types.h
>
34
#include <
vfs/vfs.h
>
35
#include <
sys/device.h
>
36
37
int
ffs_read
(
fileDescriptor_t
*,
char
*,
uint32_t
,
long
);
38
39
#endif
40
41
/***
42
END
43
***/
44
vfs.h
fileDescriptor
Definition:
file.h:62
types.h
uint32_t
__uint32_t uint32_t
Definition:
types.h:46
device.h
ffs_read
int ffs_read(fileDescriptor_t *, char *, uint32_t, long)
include
ufs
ffs.h
Generated by
1.8.16