Linux source code, pay attention to the data structure
Source: Internet
Author: User
Linux source code, pay attention to the data structure-General Linux technology-Linux programming and kernel information. The following is a detailed description. I started to think that my C language is very good, but what? Still not working. the profound and profound C language really forced me to read back brother Tan's C language programming. I learned too much. many other programs will think for a long time if they do not follow the format in the books.
I have read about mtd linux source code/driver/mtd/nand/s3c2410. there is a struct s3c2410_nand_info;, which is hard to understand. However, if you analyze it carefully, it defines a struct: s3c2410_nand_info, rather than defining this struct variable. You can think of the struct definition struct xxx {}, but there is no data type in the struct of struct s3c2410_nand_info, so a struct of the null type is defined.
To read the Linux source code, you can discard the lines and frames in books.
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