snprintf(buffer, "%s/XXXXXX", PATH_TO_HUGETLBFS);
So much for working code... ;-)
Application-friendly kernel interfaces
Posted Mar 29, 2007 15:38 UTC (Thu) by ebiederm (subscriber, #35028)
snprintf(buffer, sizoef(buffer), ....);
Posted Mar 29, 2007 16:02 UTC (Thu) by vmole (guest, #111)
Strike 2! [Steve readies for the next pitch.]
Yeah yeah, I know that code written for forums like this is at best psuedo-code. Hell, I blew it just the other day, so I'm hardly the one to be picking on you, but I was amused by the "Show me the code" - "huh?" sequence.
Perhaps we can get away with claiming "Well, it was a actually a debugging test for the reader". Right, that's it.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds