+ 6

Please does someone know what this mean? The naked keyword, in c++

__attribute__((naked)) T* start(U* a) {

4th Jan 2021, 11:51 AM
Bode Olatunde
Bode Olatunde - avatar
21 Respuestas
+ 5
Bode Olatunde Prolog: Code that runs before the function body, ( typically code that handles function entry and argument handling.) Epilog: Code that runs after the function body. .. .. You use naked when you're implementing something like an interrupt With "naked" you have to/get the opportunity to write this stuff yourself. You have strict control over exactly what instructions appear in that function. .. Must Visit here https://docs.microsoft.com/en-us/cpp/cpp/naked-cpp?view=msvc-160 Hope U got it : ) Edit : I think u pretty sure about Prolog/Epilog
4th Jan 2021, 2:59 PM
Mr. Rahul
Mr. Rahul - avatar
+ 2
I would like to know where do you get this line. I've never seen this keyword.
4th Jan 2021, 12:08 PM
你知道規則,我也是
你知道規則,我也是 - avatar