diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-06-12 11:24:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-06-12 11:24:29 +0000 |
commit | b8a259d7c68553c267bfc2c902b68fef01ac5389 (patch) | |
tree | 15bb171cd3047f3c304d96931599df070da3db3c /usr.sbin | |
parent | 169927548f8787b797e434189b6f468316bf350a (diff) |
better synopsis.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod b/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod index 2551ff5fd98..c7be9ee9b9e 100644 --- a/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod +++ b/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod @@ -1,4 +1,4 @@ -$OpenBSD: OpenBSD::Ustar.pod,v 1.1 2005/02/28 13:08:41 espie Exp $ +$OpenBSD: OpenBSD::Ustar.pod,v 1.2 2005/06/12 11:24:28 espie Exp $ =head1 NAME @@ -13,6 +13,7 @@ OpenBSD::Ustar - simple access to Ustar C<tar(1)> archives # decide whether we want to extract it, change object attributes $o->create(); } + close($fh); =head1 DESCRIPTION @@ -24,7 +25,7 @@ Most client software will specialize C<OpenBSD::Ustar> to their own needs. Note however that C<OpenBSD::Ustar> is not designed for inheritance. Composition (putting a C<OpenBSD::Ustar> object inside your class) and forwarding methods (writing C<create> or C<next> methods that call the -C<OpenBSD::Ustar> method) are the correct way to use this API. +corresponding C<OpenBSD::Ustar> method) are the correct way to use this API. A filehandle C<$fh> is associated with an C<OpenBSD::Ustar> object through C<new>. The filehandle should support C<read>. C<OpenBSD::UStar> does not |