Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Added core.sys.posix.sys.resource #445

Merged
merged 4 commits into from
Mar 14, 2013
Merged

Conversation

kyllingstad
Copy link
Member

This is a translation of the sys/resource.h header for Linux, Mac OS X,
FreeBSD and Solaris.

This is required for the new std.process.

@kyllingstad
Copy link
Member Author

Should I do anything with mak/SRCS as well? I've noticed that only a few of the files in src/core/sys/posix/sys are listed there.

@alexrp
Copy link
Member

alexrp commented Mar 13, 2013

That's probably an oversight. We want to compile all modules everywhere. (So yes.)

@kyllingstad
Copy link
Member Author

Fixed. I've rebased the commits too.

@alexrp
Copy link
Member

alexrp commented Mar 13, 2013

Looks OK, just waiting for the auto tester.

This is a translation of the sys/resource.h header for Linux, Mac OS X,
FreeBSD and Solaris.
@MartinNowak
Copy link
Member

Please fold in the linux fixes I sent you (kyllingstad#1).

MartinNowak and others added 3 commits March 14, 2013 07:17
- these are non-XSI fields but are needed for the
  the size of the struct, e.g. getrusage(int, rusage*)

Conflicts:
	src/core/sys/posix/sys/resource.d
MartinNowak added a commit that referenced this pull request Mar 14, 2013
Added core.sys.posix.sys.resource
@MartinNowak MartinNowak merged commit d8b37c4 into dlang:master Mar 14, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants