ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/demo.c
(Generate patch)

Comparing libeio/demo.c (file contents):
Revision 1.3 by root, Sat Mar 20 18:18:50 2010 UTC vs.
Revision 1.4 by root, Mon Nov 29 12:38:32 2010 UTC

141 141
142 eio_utime ("eio-test-dir", 12345.678, 23456.789, 0, res_cb, "utime"); 142 eio_utime ("eio-test-dir", 12345.678, 23456.789, 0, res_cb, "utime");
143 eio_futime (last_fd, 92345.678, 93456.789, 0, res_cb, "futime"); 143 eio_futime (last_fd, 92345.678, 93456.789, 0, res_cb, "futime");
144 eio_chown ("eio-test-dir", getuid (), getgid (), 0, res_cb, "chown"); 144 eio_chown ("eio-test-dir", getuid (), getgid (), 0, res_cb, "chown");
145 eio_fchown (last_fd, getuid (), getgid (), 0, res_cb, "fchown"); 145 eio_fchown (last_fd, getuid (), getgid (), 0, res_cb, "fchown");
146 eio_fchmod (last_fd, 0123, 0, res_cb, "fchmod"); 146 eio_fchmod (last_fd, 0723, 0, res_cb, "fchmod");
147 eio_readdir ("eio-test-dir", 0, 0, readdir_cb, "readdir"); 147 eio_readdir ("eio-test-dir", 0, 0, readdir_cb, "readdir");
148 eio_readdir ("/nonexistant", 0, 0, readdir_cb, "readdir"); 148 eio_readdir ("/nonexistant", 0, 0, readdir_cb, "readdir");
149 eio_fstat (last_fd, 0, stat_cb, "stat"); 149 eio_fstat (last_fd, 0, stat_cb, "stat");
150 eio_write (last_fd, "test\nfail\n", 10, 4, 0, res_cb, "write"); 150 eio_write (last_fd, "test\nfail\n", 10, 4, 0, res_cb, "write");
151 event_loop (); 151 event_loop ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines