Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 654759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:31:45+00:00 2026-05-13T22:31:45+00:00

Sometimes I see header files of the form. #include <sys/sysinfo.h> // I found this

  • 0

Sometimes I see header files of the form.

#include <sys/sysinfo.h> // I found this on my system under /usr/include/sys/sysinfo.h. Is that all the "sys/" means?                                                             

What is this called and why are these header files different from most others like

#include <stdio.h>

Maybe a group of related header files been grouped under the label of ‘sys’, but if I try something like “man pci” (there’s a pci.h header in /usr/include/sys/ there is no entry.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:31:46+00:00Added an answer on May 13, 2026 at 10:31 pm

    It is a convenient way of providing some ‘namespace structure’ to header files. In the Unix world, the main division is between headers like <stdio.h> which are often fairly general and primarily for use by user programs and not primarily for use by the operating system kernel. By contrast, the headers like <sys/sysinfo.h> or <sys/types.h> were intended for use when compiling the kernel – they were more system-y.

    Nowadays, it provides a way to separate your project’s headers from another project’s headers. For example, <openssl/ssl.h> identifies the header as belonging to the OpenSSL code base.

    I don’t know that there is a particular name for this style of specifying headers.

    Note that if the OpenSSL headers are stored in the directory /usr/local/include/openssl, then you specify -I /usr/local/include on the compiler command line. What actually happens is that the header is looked for by prefixing the name in the angle brackets by one of a number of standard directories, of which the default one is /usr/include on Unix. Therefore, <stdio.h> is found in /usr/include/stdio.h and <sys/sysinfo.h> is found in /usr/include/sys/sysinfo.h, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In code, I sometimes see people specify constants in hex format like this: const
When is it a good idea to use PHP_EOL ? I sometimes see this
I'm still sometimes puzzled when it comes to details of Objective-C. Having this header
When adding a reference to a project I sometimes see the message... The Target
I see Oracle procedures sometimes written with AS, and sometimes with IS keyword. CREATE
C++ 0x has template aliases (sometimes referred to as template typedefs). See here .
Sometime I see many application such as msn, windows media player etc that are
Sometimes when I'm editing page or control the .designer files stop being updated with
Sometimes I need to quickly extract some arbitrary data from XML files to put
Sometimes I have to work on code that moves the computer clock forward. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.