Hello everybody, There is a TODO file into drivers/staging that says the following: User space interface refinement: No enums should be used Can someone explain me what is the meaning of not using enums in user space interfaces? Thanks in advance Best regards -- Gustavo Silva <http://twitter.com/embeddedgus>
Gustavo A. R. Silva <silvagustavosilva <at> gmail.com> writes:
Can someone explain me what is the meaning of not using enums in user space interfaces?
Hello Gustavo, I think this article sums up pretty well and in a easy way the problems behind using enums in C. Hope it helps. Regards, BGS
Hello Bruno, Thanks for the reply. Did you try to add a link or any attachment? It didn't make it :/ Regards, 2014-09-29 12:12 GMT-05:00 Bruno Guedes Souto <brunoguedes@gmail.com>:
Gustavo A. R. Silva <silvagustavosilva <at> gmail.com> writes:
Can someone explain me what is the meaning of not using enums in user space interfaces?
Hello Gustavo,
I think this article sums up pretty well and in a easy way the problems behind using enums in C.
Hope it helps.
Regards,
BGS
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Gustavo A. R. Silva
Gustavo A. R. Silva <silvagustavosilva <at> gmail.com> writes:
Hello Bruno,Thanks for the reply.Did you try to add a link or any attachment? It didn't make it :/
Apparently I fail at ctrl-c/ctrl-v http://gnuvince.wordpress.com/2009/09/08/enums-in-c/ Hope it's right now. Regards BGS
2014-09-29 12:35 GMT-05:00 Bruno Guedes Souto <brunoguedes@gmail.com>:
Gustavo A. R. Silva <silvagustavosilva <at> gmail.com> writes:
Hello Bruno,Thanks for the reply.Did you try to add a link or any attachment? It didn't make it :/
Apparently I fail at ctrl-c/ctrl-v
http://gnuvince.wordpress.com/2009/09/08/enums-in-c/
Hope it's right now.
Regards
BGS
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Yep, it worked. Thanks for sharing, I appreciate it! Regards -- Gustavo A. R. Silva
participants (2)
-
Bruno Guedes Souto -
Gustavo A. R. Silva