mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
205 B
C
10 lines
205 B
C
6 months ago
|
#include <sys/resource.h>
|
||
|
#include <stdio.h>
|
||
|
int main (void)
|
||
|
{
|
||
|
struct rlimit limit;
|
||
|
|
||
|
getrlimit (RLIMIT_STACK, &limit);
|
||
|
printf ("\nStack Limit = %ld and %ld max\n", limit.rlim_cur, limit.rlim_max);
|
||
|
}
|