Good news: I figured out how to do this thing in C that had been fucking with me for a while
Bad news: I am a completely fucking retarded, -110 IQ specimen because this was easy as shit and shouldn't have taken me so long
Bad news: I am a completely fucking retarded, -110 IQ specimen because this was easy as shit and shouldn't have taken me so long
int regexlist_remove(struct regexlist **rl, const char *pattern) {
// Search the list linearly for the desired node, reset if the node can't be found
struct regexlist * const start = *rl;
for(; *rl != NULL; *rl = (*rl)->next) {
if(strcmp((*rl)->pattern, pattern) == 0)
break;
}
if(*rl == NULL) {
*rl = start;
return -1;
}
...
}Forwarded from CRISPR/GNUGUN Coopernetties
you just need to tie your sense of self-worth to made-up bullshit. for example I imagine that a girl likes me and I feel satisfied as a result
This media is not supported in your browser
VIEW IN TELEGRAM
What chapter of marine is this
This media is not supported in your browser
VIEW IN TELEGRAM
Forwarded from DUMB SHITTERS
Netflix PLEASE
Forwarded from DUMB SHITTERS
PLEASE LET ME WATCH THE TYSON FIGHT