Linux Kernel
3.7.1
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <limits.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <mqueue.h>
Go to the source code of this file.
Functions | |
void | shutdown (int exit_val, char *err_cause, int line_no) |
void | validate_current_settings () |
int | main (int argc, char *argv[]) |
Variables | |
char * | DEF_MSGS = "/proc/sys/fs/mqueue/msg_default" |
char * | DEF_MSGSIZE = "/proc/sys/fs/mqueue/msgsize_default" |
char * | MAX_MSGS = "/proc/sys/fs/mqueue/msg_max" |
char * | MAX_MSGSIZE = "/proc/sys/fs/mqueue/msgsize_max" |
int | default_settings |
struct rlimit saved_limits | cur_limits |
int | saved_def_msgs |
int | saved_def_msgsize |
int | saved_max_msgs |
int | saved_max_msgsize |
int | cur_def_msgs |
int | cur_def_msgsize |
int | cur_max_msgs |
int | cur_max_msgsize |
FILE * | def_msgs |
FILE * | def_msgsize |
FILE * | max_msgs |
FILE * | max_msgsize |
char * | queue_path |
mqd_t | queue = -1 |
Definition at line 234 of file mq_open_tests.c.
Definition at line 75 of file mq_open_tests.c.
void validate_current_settings | ( | ) |
Definition at line 148 of file mq_open_tests.c.
int cur_def_msgs |
Definition at line 52 of file mq_open_tests.c.
int cur_def_msgsize |
Definition at line 52 of file mq_open_tests.c.
Definition at line 50 of file mq_open_tests.c.
int cur_max_msgs |
Definition at line 52 of file mq_open_tests.c.
int cur_max_msgsize |
Definition at line 52 of file mq_open_tests.c.
Definition at line 44 of file mq_open_tests.c.
FILE* def_msgs |
Definition at line 53 of file mq_open_tests.c.
Definition at line 45 of file mq_open_tests.c.
FILE * def_msgsize |
Definition at line 53 of file mq_open_tests.c.
int default_settings |
Definition at line 49 of file mq_open_tests.c.
Definition at line 46 of file mq_open_tests.c.
FILE * max_msgs |
Definition at line 53 of file mq_open_tests.c.
Definition at line 47 of file mq_open_tests.c.
FILE * max_msgsize |
Definition at line 53 of file mq_open_tests.c.
Definition at line 55 of file mq_open_tests.c.
char* queue_path |
Definition at line 54 of file mq_open_tests.c.
int saved_def_msgs |
Definition at line 51 of file mq_open_tests.c.
int saved_def_msgsize |
Definition at line 51 of file mq_open_tests.c.
int saved_max_msgs |
Definition at line 51 of file mq_open_tests.c.
int saved_max_msgsize |
Definition at line 51 of file mq_open_tests.c.