Hi

on 2019/9/10 3:18, John W. Krahn wrote:
The operating system is written in C.  The symlink(2) function is part of the operating system and is written in C.  Therefore, when perl calls symlink(2) it has to send a valid C type string.  Because your string starts with a NULL character it is a C string with zero characters.

Good answer John.
I have another question that, since perl is typeless language, how does perl know send the correct C type string to C's function?

thanks.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to