On Fri, 2006-12-08 at 09:42 +0530, Niklaus wrote: > Like the #undef for macros , do we have a way for undefining a > library function like say memset. Do we have any way(like linker) so > that my function memset(with different arguments) are used everywhere > instead of library function memset. Yes. Take a look in the linker manual for the --wrap option. Ben