Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

trpmio.c

Go to the documentation of this file.
00001 
00005 #include <stdio.h>
00006 #include "rpmio.h"
00007 #include "debug.h"
00008 
00009 int main (void)
00010 {
00011     FD_t f1, f2, f3, f4, f5;
00012  
00013     printf ("open http://www.gnome.org/\n");
00014     f1 = Fopen ("http://www.gnome.org/", "r.fdio");
00015  
00016     printf ("open http://people.redhat.com/\n");
00017     f2 = Fopen ("http://people.redhat.com/", "r.ufdio");
00018  
00019     printf ("close http://www.gnome.org/\n");
00020     Fclose (f1);
00021  
00022     printf ("open http://www.redhat.com/\n");
00023     f3 = Fopen ("http://www.redhat.com/", "r.ufdio");
00024  
00025     printf ("close http://people.redhat.com/\n");
00026     Fclose (f2);
00027  
00028     printf ("open http://www.slashdot.org/\n");
00029     f4 = Fopen ("http://www.slashdot.org/", "r.ufdio");
00030  
00031     printf ("close http://people.redhat.com/\n");
00032     Fclose (f3);
00033  
00034     printf ("open http://people.redhat.com/\n");
00035     f5 = Fopen ("http://people.redhat.com/", "r.ufdio");
00036  
00037     printf ("close http://www.slashdot.org/\n");
00038     Fclose (f4);
00039  
00040     printf ("close http://people.redhat.com/\n");
00041     Fclose (f5);
00042  
00043     return 0;
00044 }

Generated on Mon Mar 5 13:30:24 2007 for rpm by  doxygen 1.4.4