Return to test_base64.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitwww / example |
added UT for base64 - base64 feature
#include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <aitwww.h> int main(int argc, char **argv) { int fd = STDOUT_FILENO; if (argc > 1) { fd = open(argv[1], O_RDONLY); if (fd == -1) { perror("open"); return 1; } } if (fd > 2) close(fd); return 0; }