9 Jan
2003
9 Jan
'03
7:31 p.m.
Dimitrie O. Paun wrote:
I suggest we turn those defines into inlines, like this:
inline int write(int fd, const void* ptr, unsigned int size) { return _write(fd, ptr, size); }
Any other solutions?
Sure, there are two: 0. use a linker alias for _write 1. actually have a function write() that just jumps to _write 2. actually have a function write() that calls _write Not sure any of those are better than what you suggest, though. - Dan -- Dan Kegel Linux User #78045 http://www.kegel.com