Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
Log In
Found the internet!

C

r/C_Programming

454
pinned by moderators
Posted by11 months ago
Wholesome2Silver3
454
242 comments
36
0
Posted by11 hours ago
0
0 comments
3
Posted by21 hours ago

They're nowhere to be found there. Of course they are in kernel files but who includes kernel files? What is a portable way of getting MQ max num and mas msg size values? In Linux they are in /proc/sys/fs/mqueue/msg_max and /proc/sys/fs/mqueue/msgsize_max but that's not so portable either. I am reading mq_overview(7) and it does not mention any definitions. Where can I lay my hands on these sweet macaronis?

Thanks.

3
5 comments

About Community

The subreddit for the C programming language
Created Mar 27, 2008
r/C_Programming topics

140k

Members

138

Online

Top 1%

Ranked by Size

Related Communities

r/learnprogramming

3,856,267 members

r/cpp_questions

64,290 members

r/AskProgramming

98,226 members

r/cs50

88,691 members

r/rust

238,881 members

r/learnjavascript

227,217 members

r/cpp

246,983 members

r/leetcode

54,120 members

r/gamemaker

77,686 members

r/osdev

18,994 members

r/C_Programming Rules

1.
Format your code
2.
Only C is on topic
3.
Do not post links as self posts
4.
No pictures of code

Moderators

Moderator list hidden. Learn More