Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-0.11
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
linux-0.11
Commits
18eaaaef
Commit
18eaaaef
authored
Aug 20, 2014
by
karottc
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' for test merge branch.
parents
2597d094
148773bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/read_write.c
fs/read_write.c
+2
-0
No files found.
fs/read_write.c
View file @
18eaaaef
...
...
@@ -12,7 +12,9 @@
#include <linux/sched.h>
#include <asm/segment.h>
// 字符设备读写函数。
extern
int
rw_char
(
int
rw
,
int
dev
,
char
*
buf
,
int
count
,
off_t
*
pos
);
// 读管道操作函数。
extern
int
read_pipe
(
struct
m_inode
*
inode
,
char
*
buf
,
int
count
);
extern
int
write_pipe
(
struct
m_inode
*
inode
,
char
*
buf
,
int
count
);
extern
int
block_read
(
int
dev
,
off_t
*
pos
,
char
*
buf
,
int
count
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment