You're kidding me! That answer was bloody awesome! Thank you very much!
I have to implement an algorithm in C and it uses some really basic functions in each step (like a one-line expression). But...
Type: Posts; User: Sloede
You're kidding me! That answer was bloody awesome! Thank you very much!
I have to implement an algorithm in C and it uses some really basic functions in each step (like a one-line expression). But...
I'm wondering if an inline function is really the same as a preprocessor macro - just with some advantages like type checking et cetera.
Would that mean if I define
inline void double_it(int a)...
That makes sense! Especially when there's no obvious reason for a NULL-byte, there shouldn't be a great loss of information by changing it to some other byte. I'll probably choose some non-printable...
But how would you suggest to rewrite the regexing functions? Go through the source code and change everything which doesn't fit?
Seems like hell of a lot work :)
But if you state that this is...
Your right, but that is only true for field-names. The field-body may contain _any ASCII char except CR/LF and the message body may contain ALL ASCII chars - and that's the problem I have:
How to...
Where did you find that anything which is not printable will be encoded?
I just found that in RFC 822:
That means to me that NULLs can very well be part of the header-field-contents or the...
I am working on a mail environment which requires me to retrieve mails from a POP3 server. For everyone unfamiliar with how the POP works:
You issue CRLF-terminated commands and retrieve answers...
Thx people for not answering my questions. Now, after nobody gave me any hints I had to find it out myself - it took me a while but I managed to do it and now I learned more about the whole matter. I...
Actually, it's still not working out for me. Statfs tells me that I only have some 435000 free blocks left while df tells me that there are for more than 2 mio. free blocks available. Does anyone...
Phew, I just mangled through the whole df.c code just to find out that it's using the statfs function to gather all the needed data :)
My only remaining question (as far as linux is concerned):...
I'm trying to get information about the harddisk usage, similar to the output generated by "df"
I actually only need the number of free bytes available on the current mounting point (where the...
First, thanks for answering my request.
The reason why I thought to use the memory or the mmap functions was that they seem to be easier and more efficient to use. But as you suggested, I'll find...
I want to implement a mail download function for an own POP3 client (please no shoutings "use a library" as that's not a convenient solution for me) for linux. The mails should be downloaded and then...