Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ardhi Putra Pratama
teaching
Commits
c10aa4b9
Commit
c10aa4b9
authored
Nov 17, 2017
by
Ardhi Putra Pratama
Browse files
fixup! renaming, commenting stuffs
parent
05274182
Changes
1
Show whitespace changes
Inline
Side-by-side
sys-programming/dev-driver/test-driver.c
View file @
c10aa4b9
...
...
@@ -12,7 +12,7 @@ int main(){
int
ret
,
fd
;
char
stringToSend
[
BUFFER_LENGTH
];
printf
(
"Starting device test code example...
\n
"
);
fd
=
open
(
"/dev/rdc
har
dr
v
"
,
O_RDWR
);
// Open the device with read/write access
fd
=
open
(
"/dev/rdc
dev
dr"
,
O_RDWR
);
// Open the device with read/write access
if
(
fd
<
0
){
perror
(
"Failed to open the device..."
);
return
errno
;
...
...
Write
Preview
Supports
Markdown
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