• Rob Pike's avatar
    make syscall use strings for file names · ccede3e8
    Rob Pike authored
    tweak os to adjust
    move StringToBytes into syscall, at least for now
    
    this program still works:
    
    	package main
    
    	import os "os"
    
    	func main() {
    		os.Stdout.WriteString("hello, world\n");
    		a, b := os.NewFD(77).WriteString("no way");
    		os.Stdout.WriteString(b.String() + "\n");
    	}
    
    R=rsc
    DELTA=263  (59 added, 176 deleted, 28 changed)
    OCL=15153
    CL=15153
    ccede3e8
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
usr/gri/gosrc Loading commit data...