Serenity Operating System
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

LibC: create a stub for getrusage.

authored by

Xiao NuoFu and committed by
Andreas Kling
5fe521c5 e3232465

+10
+10
Libraries/LibC/ulimit.cpp
··· 26 26 27 27 #include <assert.h> 28 28 #include <ulimit.h> 29 + #include <sys/resource.h> 29 30 30 31 extern "C" { 31 32 ··· 36 37 ASSERT_NOT_REACHED(); 37 38 return -1; 38 39 } 40 + 41 + int getrusage(int who, struct rusage *usage) 42 + { 43 + (void)who; 44 + (void)usage; 45 + ASSERT_NOT_REACHED(); 46 + return -1; 47 + } 48 + 39 49 }