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, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 25.06.2019 05:10
Write a program that asks for 'name' from the user and then asks for a number and stores the two in a dictionary (called 'the_dict') as key-value pair. the program then asks if the user wants to enter more data (more data (y/n)? ) and depending on user choice, either asks for another name-number pair or exits and stores the dictionary key, values in a list of tuples and prints the list. note: ignore the case where the name is already in the dictionary. example: name: pranshu number: 517-244-2426 more data (y/n)? y name: rich number: 517-842-5425 more data (y/n)? y name: alireza number: 517-432-5224 more data (y/n)? n [('alireza', '517-432-5224'), ('pranshu', '517-244-2426'), ('rich', '517-842-5425')]
Answers: 3
question
Computers and Technology, 25.06.2019 08:30
Which of the following terms is described as “the art and design of using text”? a. typography b. elements of design c. typos d. graphic design
Answers: 1
question
Computers and Technology, 25.06.2019 17:00
Ineed on this it's not really a subject it's drivers edd
Answers: 1
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, 09.12.2020 18:50
question
History, 09.12.2020 18:50
question
History, 09.12.2020 18:50
question
Mathematics, 09.12.2020 18:50
Questions on the website: 13722360