Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

lol unix

Name: Anonymous 2009-01-22 9:38

what is the output of this program?
#include <stdio.h>
#include <unistd.h>

int main(void){
 char *s[2] = {"a", "b"}, *d[2];
 d[0] = crypt(s[0], "xx");
 d[1] = crypt(s[1], "xx");
 printf("%s -> %s\n%s -> %s\n", s[0], d[0], s[1], d[1]);
 return 0;
}

Name: Anonymous 2009-01-22 11:12

>>3
>>2 is probably using some GNU shit that requires some gayass #define __FAGGOT_SOURCE beforehand.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List