User: Password:
|
|
Subscribe / Log in / New account

Application-friendly kernel interfaces

Application-friendly kernel interfaces

Posted Mar 29, 2007 15:16 UTC (Thu) by vmole (guest, #111)
In reply to: Application-friendly kernel interfaces by ebiederm
Parent article: Application-friendly kernel interfaces

snprintf(buffer, "%s/XXXXXX", PATH_TO_HUGETLBFS);

So much for working code... ;-)


(Log in to post comments)

Application-friendly kernel interfaces

Posted Mar 29, 2007 15:38 UTC (Thu) by ebiederm (subscriber, #35028) [Link]

Yea yea.

snprintf(buffer, sizoef(buffer), ....);

Application-friendly kernel interfaces

Posted Mar 29, 2007 16:02 UTC (Thu) by vmole (guest, #111) [Link]

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