subject
Computers and Technology, 21.01.2020 22:31 knj281

Modify the code below to do the following:

1. print out the value of golden_ratio_prime in the simple_init() function.

2. print out the greatest common divisor of 3,300 and 24 in the simple_exit() function.

simple. c

#include

#include

#include

/* this function is called when the module is loaded. */

int simple_init(void)

{

printk(kern_info "loading module\n");

return 0;

}

/* this function is called when the module is removed. */

void simple_exit(void) {

printk(kern_info "removing module\n");

}

/* macros for registering module entry and exit points. */

module_init( simple_init );

module_exit( simple_exit );

module_license("gpl");

module_description("simple module");

module_author("sgg");

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Which best describes the condition under which the unicode output is the same as plain text?
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
Ou listened to a song on your computer. did you use hardware or software?
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Match the sentence fragment in the first column with the appropriate ending in the second column. a little per favore?
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
Which two technologies support the building of single-page applications?
Answers: 2
You know the right answer?
Modify the code below to do the following:

1. print out the value of golden_ratio_prime...
Questions
question
Mathematics, 06.02.2021 03:40
question
Mathematics, 06.02.2021 03:40
question
Mathematics, 06.02.2021 03:40
question
Mathematics, 06.02.2021 03:40
question
Mathematics, 06.02.2021 03:40
Questions on the website: 13722362