Re: syscall renaming

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Fri Dec 11 1998 - 20:54:27 EST


>
> Godmar Back writes:
> > Archie, what do you want to rename things to?
> > Remember the dprintf fiasco (see the #define in debug.h)
>
> My strategy is to replace "xxx" with "KXXX", eg, write becomes
> KWRITE. IMHO, macros should ALWAYS BE UPPER CASE :-)
>

Not really. ANSI C, for instance, allow getchar() to be a macro.
I don't really care, though. I usually uppercase macros too.

I don't like the k prefix, because there's for instance kprintf
k is often used in kernels. This will prevent a port of Kaffe as a
kernel module in Linux. But I don't think 'j' would be better.
kaffe_ or KAFFE_ would definitely be unambiguous, but may be too long.

Just take a pick.

        - Godmar


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:12 EDT