RE: What do you have copied right now? 04-13-2017, 10:24 PM
#51
Code:
int main() {
char key;
rawOn();
initTerm();
resetTerm();
while (1) { //Crashes in segfault. Fuck.
key = getKey();
dBuff = (char *) realloc(dBuff, strlen(key));
strcat(dBuff, (key));
resetTerm();
printf(dBuff);
}
return 0;
free(dBuff);
}
(This post was last modified: 04-13-2017, 10:26 PM by Blink.)









![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)








![[Image: qcYJ3l.png]](https://i.skull.moe/u/qcYJ3l.png)
![[Image: ezgif_com_gif_maker.gif]](http://image.ibb.co/jc44HH/ezgif_com_gif_maker.gif)









![[Image: oAqtc2l.png]](https://i.imgur.com/oAqtc2l.png)


![[Image: p_237m2jx1.png]](http://c.top4top.net/p_237m2jx1.png)