info

ftpport.c

At the time I wrote this utility, I was working on LTFS, a user-mode filesystem for Linux. One of the applications thereof was an FTP module that would allow you to mount an FTP site as a filesystem. I think this log entry from the date this file was last modified probably sums everything up. Last modified Apr 24, 2000.

#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { if (argc < 3) { fprintf(stderr, "usage: %s num num\n", argv[0]); exit(1); } printf("%d\n", atoi(argv[1]) * 256 + atoi(argv[2])); return 0; }