* TODO: no enums in user space interface @ 2014-09-26 4:37 Gustavo A. R. Silva 2014-09-29 17:12 ` Bruno Guedes Souto 0 siblings, 1 reply; 5+ messages in thread From: Gustavo A. R. Silva @ 2014-09-26 4:37 UTC (permalink / raw) To: kernelnewbies 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> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140925/77b5ea63/attachment.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* TODO: no enums in user space interface 2014-09-26 4:37 TODO: no enums in user space interface Gustavo A. R. Silva @ 2014-09-29 17:12 ` Bruno Guedes Souto 2014-09-29 17:23 ` Gustavo A. R. Silva 0 siblings, 1 reply; 5+ messages in thread From: Bruno Guedes Souto @ 2014-09-29 17:12 UTC (permalink / raw) To: kernelnewbies 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* TODO: no enums in user space interface 2014-09-29 17:12 ` Bruno Guedes Souto @ 2014-09-29 17:23 ` Gustavo A. R. Silva 2014-09-29 17:35 ` Bruno Guedes Souto 0 siblings, 1 reply; 5+ messages in thread From: Gustavo A. R. Silva @ 2014-09-29 17:23 UTC (permalink / raw) To: kernelnewbies 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 at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- Gustavo A. R. Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140929/9479114e/attachment.html ^ permalink raw reply [flat|nested] 5+ messages in thread
* TODO: no enums in user space interface 2014-09-29 17:23 ` Gustavo A. R. Silva @ 2014-09-29 17:35 ` Bruno Guedes Souto 2014-09-29 17:43 ` Gustavo A. R. Silva 0 siblings, 1 reply; 5+ messages in thread From: Bruno Guedes Souto @ 2014-09-29 17:35 UTC (permalink / raw) To: kernelnewbies 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* TODO: no enums in user space interface 2014-09-29 17:35 ` Bruno Guedes Souto @ 2014-09-29 17:43 ` Gustavo A. R. Silva 0 siblings, 0 replies; 5+ messages in thread From: Gustavo A. R. Silva @ 2014-09-29 17:43 UTC (permalink / raw) To: kernelnewbies 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 at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > Yep, it worked. Thanks for sharing, I appreciate it! Regards -- Gustavo A. R. Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140929/aeb3fc6f/attachment.html ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-09-29 17:43 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-09-26 4:37 TODO: no enums in user space interface Gustavo A. R. Silva 2014-09-29 17:12 ` Bruno Guedes Souto 2014-09-29 17:23 ` Gustavo A. R. Silva 2014-09-29 17:35 ` Bruno Guedes Souto 2014-09-29 17:43 ` Gustavo A. R. Silva
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).