if (condition || strcmp(string1, string2) == 0) // Oops, possible null pointer passed to strcmp ... } Statement coverage declares this code fragment fully covered whenconditionis true. Withconditionfalse, the call tostrcmpgets an invalid argument, a null pointer. message[EACCES] = "Permis...
We can now try to implement GPIOs management code that allows us to count how many state transactions a single GPIO line does. Actually, what we are going to do is not write a proper device driver, but we're going to write a kernel code that manages a peripheral, which is very close...
The Working Set Size (WSS) is how much memory an application needs to keep working. Your application may have 100 Gbytes of main memory allocated and page mapped, but it is only touching 50 Mbytes each second to do its job. That's the working set size: the "hot" memory that is fre...
I know, I know. I can hear everyone saying, “But it’s calledsort, so how could that ever be wrong?” Sure it’s calledsort, but you still have to know how to use it to get useful results out.Probably the most surprising thing aboutsortis that it does not by default do an alp...
STRC STRCIC STRCMP STRD STRDTF STRE STREAM STREAMES STREAMLINER STREAMS STRED STREM STREP STRES STRESS STRETCH STREX STRF STRG STRGL STRH STRHS STRI STRICOM STRICTA STRICU STRIDE STRIFE STRIKE STRIKEFITRON STRIKEFLTLANT STRIKERON STRIKEX ...