Den fredag 20 april 2018 kl. 16:11:36 UTC+2 skrev Ian Lance Taylor:
>
> On Fri, Apr 20, 2018 at 7:09 AM, Robert Bielik <robert...@gmail.com 
> <javascript:>> wrote: 
> >> 
> >> Look at how os.Stdin and friends are initialized in os/file.go. 
> >> https://golang.org/src/os/file.go#L51 . 
> > 
> > 
> > Hmm... the syscall vars are platform specific. Is there a way to do this 
> > cross-platform ? 
> > 
> > Btw. the syntax worked on linux, but not Windows. 
>
> File descriptors work differently on Windows.  As I said upthread, I 
> was describing a mechanism for Unix.  I don't know how to do this kind 
> of thing on Windows. 
>
>  
Gotcha, thanx! 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to