So far, my foray into Swift is going decently well. But I'm trying to re-write some code that uses IOKit and <sys/fcntl.h>, and while the IOKit calls are fine, it doesn't like me trying to call fcntl(). It says, "Use of unresolved identifier 'fcntl'".
I've tried including <sys/fcntl.h> in my bridging header, I tried a few imports like "import sys" or "import fcntl" with no luck. I also haven't found anything by googling. Even searching for "Swift printf" didn't give me good results. Any ideas on how I can call these things? Thanks! -- Rick Mann rm...@latencyzero.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com