"Bill Cunningham" <nospam@nspam.i nvalidwrites:
I can't use stdc to write a file signature for a file format can I?
Wouldn't I have to get into the sys calls and maybe even kernel internals to
do this with lynx. I am going to write a parser soon. But I want to parser
to have a unique signature in it's header somewhere. 0x7f is I believe the
signature for linux. I will write a 128 unique number generator in C with
linux to get the number so it will not conflict with other file types like
adobe's .pdf and so on. Can anyone suggest any source code to create a file
signature and what else I might need to do?
>
Bill
Wouldn't I have to get into the sys calls and maybe even kernel internals to
do this with lynx. I am going to write a parser soon. But I want to parser
to have a unique signature in it's header somewhere. 0x7f is I believe the
signature for linux. I will write a 128 unique number generator in C with
linux to get the number so it will not conflict with other file types like
adobe's .pdf and so on. Can anyone suggest any source code to create a file
signature and what else I might need to do?
>
Bill
I think you should ask in c.l.c : they are always willing to help people
with their parsers and 128 unique number generators there!
Enjoy!
9/10
Crosspost & Followup-To: comp.lang.c
(ps not bad - almost as good as the one where you were telling the lads
in linux development how you were about to write a device driver!)
Comment