/usr/share/doc/HOWTO/ja-html/SCSI-Programming-HOWTO-7.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>The Linux SCSI programming HOWTO: $B%G%P%$%9$r%*!<%W%s$9$k(B</TITLE>
<LINK HREF="SCSI-Programming-HOWTO-8.html" REL=next>
<LINK HREF="SCSI-Programming-HOWTO-6.html" REL=previous>
<LINK HREF="SCSI-Programming-HOWTO.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="SCSI-Programming-HOWTO-8.html">$B<!$N%Z!<%8(B</A>
<A HREF="SCSI-Programming-HOWTO-6.html">$BA0$N%Z!<%8(B</A>
<A HREF="SCSI-Programming-HOWTO.html#toc7">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s7">7.</A> <A HREF="SCSI-Programming-HOWTO.html#toc7">$B%G%P%$%9$r%*!<%W%s$9$k(B</A></H2>
<P>$BHFMQ%G%P%$%9$O(B read $B$*$h$S(B write $B%"%/%;%9$G%*!<%W%s$5$l$kI,MW$,$"$j$^$9!'(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
int fd = open (device_name, O_RDWR);
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>($B$3$l$O(BCD-ROM$B%I%i%$%V$N$h$&$JFI$_=P$7@lMQ$N%O!<%I%&%'%"AuCV$KBP$7$F$b(B
$B$"$F$O$^$j$^$9(B)$B!#(B</P>
<P>$B%3%^%s%I$rAw=P$9$k$K$O(B<CODE>write</CODE>$B$r!"$J$s$i$+$N7k2L$rF@$k$K$O(B<CODE>read</CODE>$B$r<B9T$7$J$1$l$P$J$j$^$;$s!#(B
$B%(%i!<$N>l9g$K$OJV$jCM$OIi$G$9(B($B40A4$J%j%9%H$O(B
<A HREF="SCSI-Programming-HOWTO-21.html#sec-errorhandling">sec-errorhandling</A>
$B>O$r;2>H$7$F$/$@$5$$(B)$B!#(B</P>
<HR>
<A HREF="SCSI-Programming-HOWTO-8.html">$B<!$N%Z!<%8(B</A>
<A HREF="SCSI-Programming-HOWTO-6.html">$BA0$N%Z!<%8(B</A>
<A HREF="SCSI-Programming-HOWTO.html#toc7">$BL\<!$X(B</A>
</BODY>
</HTML>
|