Hi Franta,

> I got the impression that string declared as
> char mystring[]="$DOSEMU$";
> is in memory stored as null-terminated string.

This does not help you: The OTHER string STARTS
with "$DOSEMU$", but is NOT null terminated, so
both strings still differ. Unless you explicitly
say you only want to compare the first 8 bytes.
In short, you still have to use strncmp() here.


Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Freedos-user mailing list

Reply via email to