arhdr --> ar_hdr.
authorceriel <none@none>
Thu, 8 Jan 1987 16:05:52 +0000 (16:05 +0000)
committerceriel <none@none>
Thu, 8 Jan 1987 16:05:52 +0000 (16:05 +0000)
updated docs on rd_arhdr.

modules/src/object/object.3

index 79ebf09..e01cb17 100644 (file)
@@ -61,7 +61,7 @@ and write ACK-object files and libraries
 .PP
 .B wr_arhdr(fd, arhdr)
 .br
-.B struct arhdr *arhdr;
+.B struct ar_hdr *arhdr;
 .PP
 .B wr_ranlib(fd, ran, cnt)
 .br
@@ -125,9 +125,9 @@ and write ACK-object files and libraries
 .br
 .B long cnt;
 .PP
-.B rd_arhdr(fd, arhdr)
+.B int rd_arhdr(fd, arhdr)
 .br
-.B struct arhdr *arhdr;
+.B struct ar_hdr *arhdr;
 .PP
 .B rd_ranlib(fd, ran, cnt)
 .br
@@ -261,6 +261,8 @@ reads two bytes from file descriptor
 .I fd
 and interpretes them as an unsigned integer.
 .PP
+.I Rd_arhdr returns 1 if a header was read, and 0 on end-of-file.
+.PP
 When using any of the reading routines, you must define a routine
 named
 .IB rd_fatal .