Is there any URL or documentation that contains a list of available libraries through glibc (and darwin as well)? To give it a go, I just tried using plain old “printf” but the compiler produced an error because printf isn’t allowed through Swift.
The best I can offer you right now is to fire up the REPL, import Glibc, then use “:type lookup SwiftGlibc” to print all available symbols. To look for a specific one, type that instead, “:type lookup print”.
- mish
···
On Dec 4, 2015, at 5:23 AM, Nabeel Imtiaz <nimtiazm@gmail.com> wrote:
Hi,
Is there any URL or documentation that contains a list of available libraries through glibc (and darwin as well)? To give it a go, I just tried using plain old “printf” but the compiler produced an error because printf isn’t allowed through Swift.
Is this still the best answer? I can't find any docs for Glibc anywhere either. And for what it's worth, I don't really mean docs for the underlying C modules, but for specifics pertaining to Glibc.