OSDN Git Service

Add ulimit.
authorRob Landley <rob@landley.net>
Tue, 9 Feb 2016 23:23:31 +0000 (17:23 -0600)
committerRob Landley <rob@landley.net>
Tue, 9 Feb 2016 23:23:31 +0000 (17:23 -0600)
commit2f3f26ea1ec581cd24a0778323eb0844f03fd6a3
treef7ba43fcbe762a1eb95bc5bfefa8450fe36b56a6
parenta7a869c2d5f9398a6348dbeacbfec115a5b7d34e
Add ulimit.

This isn't a shell builtin, it uses prlimit to target any pid (without -P
it defaults to $PPID, so acts like historical ulimit by default).
lib/portability.h
toys/posix/ulimit.c [new file with mode: 0644]