]> Dogcows Code - chaz/tar/commit
(do_command, rmt_open__, rmt_read__, rmt_lseek__, rmt_ioctl__): Use
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 31 Oct 1997 00:58:55 +0000 (00:58 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 31 Oct 1997 00:58:55 +0000 (00:58 +0000)
commitdab18c15bd99344245c9ecf6be7e5dea7d76e58d
tree0f4bcf621ecccc6ca19af7381cdd02935c721ed0
parent88ea940c0e3db80904f2405b01f1a3d01c522859
(do_command, rmt_open__, rmt_read__, rmt_lseek__, rmt_ioctl__): Use
pid_t, size_t, ssize_t when appropriate.  Remove now-useless casts.
Use unsigned long to print *_t types, except use STRINGIFY_BIGINT for
off_t.

(get_status_string, get_status_off): New function.
(get_status): Now returns long, so that it can store ssize_t.
Invoke get_status_string to do the real work.
(rmt_read__, rmt_write__): Now returns ssize_t.  Size arg is now size_t.
(rmt_lseek__): Now returns off_t, using new get_status_off function.
(rmt_ioctl__): Convert mt_count by hand, since it might be longer than long.
src/rtapelib.c
This page took 0.022986 seconds and 4 git commands to generate.