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

Re: [MiNT] Freemint: Error in syscalls.master



Hello!

Perhaps I didn't understand the purpose of the file "syscalls.master" correctly, but IMO there is an error in:
 Srealloc(void)		should be		Srealloc(long size)
Sslbopen(void) should be Slbopen(...) in all its beauty :-) Sslbclose(void) should be Slbclose(...) in all its beauty :-) Dcreate(const char *path, short attrib) should be Dcreate(const char *path)
 Shalt(long restart)  should be   Shutdown(long restart)
 Semulation(...)      should be   Pemulation(...)

I'll look at it and correct it. Thanks for the hints.

Hmm.... there are some more "name conflicts" like
	Ssuper() <=> Super()
	Ffsync()	<=> Fsync()
	Ffcntl() <=> Fcntl()

Are these really errors or did I misunderstand the use of "syscalls.master"?

This are maybe errors. The naming convention of 'F', 'P' and 'S' is not clear or a little bad. But there for sync there exist two versions, one that operate on a filedescriptor and one that sync all filesystems (that's why an Ffsync()).

Btw. it's my intention to use the sycalls.master to generate the syscall table (that is still hand written and updated).


Regards,
Frank

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