[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] some gem question



Hello!

For good reasons. It's very dangerous to define a new semantic over an existing well known interface. Especially the different structures with the same name will make the (user program) source code very complicated and error prone. You get all sorts of trouble if you develop an app that runs under TOS and FreeMiNT/MagiC. It's much cleaner and *much easier* to handle if you define a new interface.

Ok I see reasons (yours and Konrad have true). Just a question how maximum length is actually for path?

There is no maximum limit.

Most of time I reserved 300 true or wrong I don't know, now supposing it is like this (probably not) and tommorrow you wan't extend this,

Dreaddir() return ENAMETOOLONG if the name don't fit into the passed buffer. You can also use Dpathconf() to obtain information about the filesystem limits (max name and so on). If you use Dpathconf() please note that the limits apply to the directory you use as argument for Dpathconf() (this may not constant on the same drive).

Fsfirst(). Personaly I prefer Fsfirst() it's less Unix like of course but

What is Unix like on a open/read/close?


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de