On 2014-05-07 14:08, Jan Engelhardt wrote:
On Wednesday 2014-05-07 14:01, Carlos E. R. wrote:
#include
char *strcpy(char *dest, const char *src); int main(void) { char c[3]; strcpy(c, "fuuuuuuuuuuuuuuuuuuuuuuuuuckme"); printf("%s", c); return 0; }
Just as an example, if you do the above example in Pascal, it will always use the local function, the one defined in the same file.
Well, let it be noted you still did not define a strcpy in the same file. Once you do, it's quite clear what will practically happen: it will either get used, or you get a linker error, depending on the keywords you slap onto your own implementation.
Well, yes, it is only the function header in the same file. Where is the actual function code itself is unclear (to me, at least). Does it use the system library code? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)