Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os: API #2947

Closed
rsc opened this issue Feb 9, 2012 · 3 comments
Closed

os: API #2947

rsc opened this issue Feb 9, 2012 · 3 comments
Assignees
Milestone

Comments

@rsc
Copy link
Contributor

@rsc rsc commented Feb 9, 2012

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.
@bradfitz

This comment has been minimized.

Copy link
Contributor

@bradfitz bradfitz commented Feb 10, 2012

@bradfitz

This comment has been minimized.

Copy link
Contributor

@bradfitz bradfitz commented Feb 10, 2012

Comment 2:

Owner changed to @bradfitz.

Status changed to Started.

@bradfitz

This comment has been minimized.

Copy link
Contributor

@bradfitz bradfitz commented Feb 10, 2012

Comment 3:

This issue was closed by revision 4152b43.

Status changed to Fixed.

@rsc rsc added fixed labels Feb 10, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@rsc rsc removed priority-go1 labels Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.