[swift-evolution] Standard error?

Kelvin Ma kelvin13ma at gmail.com
Wed Oct 25 17:32:34 CDT 2017

This has been on my wishlist for a long time and I don’t think it’s in the
Swift stdlib. You have to import Darwin/Glibc.

On Wed, Oct 25, 2017 at 3:51 PM, Daryle Walker via swift-evolution <
swift-evolution at swift.org> wrote:

> Been looking at the Swift standard library pages at Apple’s website.
> There’s “print” and “readLine” for I/O to/from standard output/input. Put
> there seems to be no function for standard error. The “print” function has
> an overload for custom streams, but there doesn’t seem to be an object that
> represents standard error that could go there.
> Is there a TextOutputStream object for standard error? Or does that have
> to be added? I wonder if it should be a global or a type-level property
> somewhere?
> Sent from my iPad
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171025/3d4fa6d2/attachment.html>

More information about the swift-evolution mailing list