source: trunk/src/emx/src/lib/misc/ulimit.c@ 18

Last change on this file since 18 was 18, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 653 bytes
Line 
1/* ulimit.c (emx+gcc) -- Copyright (c) 1990-1996 by Eberhard Mattes */
2
3#include <stdarg.h>
4#include <stdlib.h>
5#include <ulimit.h>
6#include <errno.h>
7#include <emx/syscalls.h>
8
9long _ulimit (int cmd, ...)
10{
11 va_list arg_ptr;
12 long newlimit;
13
14 switch (cmd)