mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
small update to last date updated
This commit is contained in:
parent
5d92c208b8
commit
294ac7feed
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
title: "A First Look at the C Programming Language"
|
title: "A First Look at the C Programming Language"
|
||||||
description: "This chapter introduces the C programming language for complete beginners."
|
description: "This chapter introduces the C programming language for complete beginners."
|
||||||
author: "Edson Brandi"
|
author: "Edson Brandi"
|
||||||
date: "2025-08-05"
|
date: "2025-08-10"
|
||||||
status: "draft"
|
status: "draft"
|
||||||
part: 1
|
part: 1
|
||||||
chapter: 4
|
chapter: 4
|
||||||
|
|
@ -2068,4 +2068,4 @@ In driver code, even though `void` functions don’t return data, they can still
|
||||||
|
|
||||||
Understanding void functions is important because in real-world FreeBSD driver development, not every task produces data to return; many simply perform an action that prepares the system or the hardware for something else. Whether it’s initializing a device, cleaning up resources, or logging a status message, these functions still play a critical role in the overall behavior of your driver. By recognizing when a function should return a value and when it should simply do its job and return nothing, you’ll write cleaner, more purposeful code that matches the way the FreeBSD kernel itself is structured.
|
Understanding void functions is important because in real-world FreeBSD driver development, not every task produces data to return; many simply perform an action that prepares the system or the hardware for something else. Whether it’s initializing a device, cleaning up resources, or logging a status message, these functions still play a critical role in the overall behavior of your driver. By recognizing when a function should return a value and when it should simply do its job and return nothing, you’ll write cleaner, more purposeful code that matches the way the FreeBSD kernel itself is structured.
|
||||||
|
|
||||||
*continue soon...*
|
*continue soon...*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue