-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Milestone
Description
Delete Time; callers should use time.Time. Change NewFile to take a uintptr; change File.Fd to return one. This accommodates Windows safely without having to define a syscall.Handle type on Unix. Delete O_NDELAY, O_NONBLOCK, O_NOCTTY, O_ASYNC. People can import syscall for those very system-specific ones. Maybe delete some error constants (ENXIO,...). Doc for Environ: s/array/copy/ (it's a slice, but get across that it's not the real thing either). Delete Exec, which is a trivial wrapper around syscall.Exec, cannot be implemented on Windows, and does not work on OS X? (On OS X, only single-threaded programs can use exec.) Doc for ShellExpand: s/operating system's/current/ (as in current process, current program). Rename ShellExpand -> ExpandEnv. Shell implies other expansions that are not being done (like globbing). Doc for Stat: delete talk about FollowedSymlink.