In the below code why does the struct have two variable names?
#include <sys/resource.h>
int main (int argc, char **argv)
{
const rlim_t kStackSize = 64L * 1024L * 1024L;
struct rlimit rl; //HERE
int result = getrlimit(RLIMIT_STACK, &rl);
return 0;
}
rl. If this is C++, thestructisn't needed, and if this is C, you can change the type so it isn't needed.