Lines Matching full:shutdown
62 void shutdown(int exit_val, char *err_cause, int line_no);
79 void shutdown(int exit_val, char *err_cause, int line_no) in shutdown() function
92 perror("mq_close() during shutdown"); in shutdown()
123 shutdown(4, "Error reading /proc entry", __LINE__ - 1); in get()
133 return shutdown(5, "Failed writing to /proc file", in set()
137 return shutdown(5, "We didn't get what we wrote to /proc back", in set()
144 shutdown(6, "getrlimit()", __LINE__ - 1); in getr()
150 shutdown(7, "setrlimit()", __LINE__ - 1); in setr()
196 * test_queue - Test opening a queue, shutdown if we fail. This should
206 shutdown(1, "mq_open()", __LINE__); in test_queue()
208 shutdown(1, "mq_getattr()", __LINE__); in test_queue()
210 shutdown(1, "mq_close()", __LINE__); in test_queue()
213 shutdown(1, "mq_unlink()", __LINE__); in test_queue()
230 shutdown(1, "mq_getattr()", __LINE__); in test_queue_fail()
232 shutdown(1, "mq_close()", __LINE__); in test_queue_fail()
235 shutdown(1, "mq_unlink()", __LINE__); in test_queue_fail()
279 shutdown(2, "Failed to open msg_max", __LINE__); in main()
281 shutdown(2, "Failed to open msgsize_max", __LINE__); in main()
501 shutdown(0,"",0); in main()