Re: "Writing" instead of "Warning" in dlopen(3) manpage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 31 December 2013 07:42:09 noname@xxxxxxxxxxxxx wrote:
> dlopen C code example contains following comment:
> 
> /* Writing: cosine = (double (*)(double)) dlsym(handle, "cos");
>    ... */
> 
> "Writing:" should be replaced with "Warning:".

both are correct

however, i wonder if the comment should be inverted.  the latest POSIX spec 
requires that the natural cast work.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlsym.html#tag_16_96_07

Linux man pages document the normal Linux environment, and that means POSIX, 
not strict ISO C.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux