Article View: fr.comp.lang.c
Article #66Re: TRe: Structure et tableau en C ?
From: Antoine Leca
Date: Mon, 07 Feb 2005 12:05
Date: Mon, 07 Feb 2005 12:05
15 lines
1940 bytes
1940 bytes
En cu6b6a$i64$1@news.tiscali.fr, Thierry59 va escriure:
> ps: defois, savez vous comment acceder au disque dur ? au boot
> secteur par example?
v=fopen("/dev/{12345678-1234-1234-89-AB-01-23-45-67-89-AB}", "rb");
fread(Tableau,1,sizeof Tableau,v);
ou un truc �quivalent pour ton syst�me; en substance, tu trouves le nom d'un
"fichier" qui repr�sente la zone que tu cherches � inspecter pour ton
syst�me, et tu le manipules comme un fichier naturel. Le secteur de
d�marrage est le d�but du volume (sinon il faut faire fseek). Aucun probl�me
pratique.
Antoine
Technical Details
Message-ID:
<cu7lif$8bk$1@shakotay.alphanet.ch>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!freenix!news.alphanet.ch!alphanet.ch!not-for-mailReferences:
<ctu7go$9cu$1@news.tiscali.fr> <mn.2ab77d52fdfd0d34.15512@YOURBRAnoos.fr> <cu5k8g$jal$1@news.tiscali.fr> <5jnc01d8fgjc3gljjuf4rhs54h2l16i212@4ax.com> <cu6b6a$i64$1@news.tiscali.fr>Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,807078fb0437ad92 X-Google-Thread: 102e15,9f3075a9014ccc0b X-Google-Attributes: gidf9822,gid102e15,public X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!freenix!news.alphanet.ch!alphanet.ch!not-for-mail From: "Antoine Leca" <root@localhost.invalid> Newsgroups: fr.comp.lang.c,fr.comp.developpement Subject: Re: TRe: Structure et tableau en C ? Date: Mon, 7 Feb 2005 13:05:33 +0100 Organization: Posted through ALPHANET (http://www.alphanet.ch/) Lines: 16 Sender: antoinel@143.red-217-127-250.pooles.rima-tde.net Message-ID: <cu7lif$8bk$1@shakotay.alphanet.ch> References: <ctu7go$9cu$1@news.tiscali.fr> <mn.2ab77d52fdfd0d34.15512@YOURBRAnoos.fr> <cu5k8g$jal$1@news.tiscali.fr> <5jnc01d8fgjc3gljjuf4rhs54h2l16i212@4ax.com> <cu6b6a$i64$1@news.tiscali.fr> NNTP-Posting-Host: 143.red-217-127-250.pooles.rima-tde.net Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit X-Trace: shakotay.alphanet.ch 1107777935 8564 217.127.250.143 (7 Feb 2005 12:05:35 GMT) X-Complaints-To: usenet@alphanet.ch NNTP-Posting-Date: Mon, 7 Feb 2005 12:05:35 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106