Introduction to common Linux kernel header files

Source: Internet
Author: User

<Linux/FB. h> Macro definitions related to framebuffer, such as fb_event_blank and extern. Some common functions such as fb_blank () and struct definitions such as struct fb_fix_screeninfo and fb_var_screeninfo

<Linux/ctype. h> Defines some macros used to determine whether a character is an uppercase letter, lowercase letter, number, control character, punctuation, and so on. For example, isdigit (c) determines whether parameter C is a number, in addition, there are also case-sensitive conversion macros, such as tolower (C) and toupper (c)

<Linux/Wait. h> defines the macros and functions related to sleep/Wait and wake up for Linux processes. Note that they are process-related, not System sleep (suspend) and wake up (resume ).

<Linux/interrupt. h> defines or extern interrupt-related functions, such as request_irq, free_irq and interrupt-related struct, such as tasklet_struct,

<Linux/fs. h> defines functions and struct related to file_operation. This header file must be included when file_operation is used.

<Linux/slab. h> defines kmalloc-related functions. To use kmalloc, you must include this header file.

<ASM/uaccess. h> defines functions related to copy_to_user and copy_from_user.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.