From: ceriel Date: Thu, 8 Jan 1987 16:05:52 +0000 (+0000) Subject: arhdr --> ar_hdr. X-Git-Tag: release-5-5~5030 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a26a4f7c9dcf0942862c0b234d1199de5bff181a;p=ack.git arhdr --> ar_hdr. updated docs on rd_arhdr. --- diff --git a/modules/src/object/object.3 b/modules/src/object/object.3 index 79ebf09f4..e01cb17be 100644 --- a/modules/src/object/object.3 +++ b/modules/src/object/object.3 @@ -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 .