 Using it on a function definition may yield unexpected results, depending on the compiler and optimization level.In Solaris, the weak symbols are also used within kernel.The generic part of kernel (called codice_18) specifies weak functions that are overridden in platform specific part of the kernel (called codice_19) such as Virtual memory routines.