You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One problem with this is that these names are apparently not symbols but only macros on some operating systems. (The C standard doesn't require these to be symbols.)
@tgross35 Definitely not
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
, it needs a decision on how to export identifiers only exposed as macros in C. errno seems to have gotten special treatment because it has libc::__errno_location, but an earlier attempt to copy that to stdin, stdout and stderr was rejected, see #1073 (comment) where it says we need an RFC to support stdin etc.
Activity
thewh1teagle commentedon Aug 27, 2024
I also need to access stdout handle. Currently I'm using https://github.com/crlf0710/libc-stdhandle instead but I prefer to use it from this crate instead.
Does it possible already?
tbu- commentedon May 5, 2025
@tgross35 Definitely not E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
, it needs a decision on how to export identifiers only exposed as macros in C.
errno
seems to have gotten special treatment because it haslibc::__errno_location
, but an earlier attempt to copy that tostdin
,stdout
andstderr
was rejected, see #1073 (comment) where it says we need an RFC to supportstdin
etc.