*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ldaclose | Section: 3 | Source: Digital UNIX | File: ldaclose.3.gz
ldclose(3) Library Functions Manual ldclose(3) NAME ldclose, ldaclose - close a common object file SYNOPSIS #include <stdio.h> #include <filehdr.h> #include <syms.h> #include <ldfcn.h> int ldclose (ldptr) LDFILE *ldptr; int ldaclose (ldptr) LDFILE *ldptr; DESCRIPTION ldopen(3) and ldclose provide uniform access to simple object files and object files that are members of archive files. An archive of common object files can be processed as if it is a series of simple common ob- ject files. If TYPE(ldptr) does not represent an archive file, ldclose closes the file and frees the memory allocated to the LDFILE structure associated with ldptr. If TYPE(ldptr) is the magic number for an archive file and if archive has more files, ldclose reinitializes OFFSET(ldptr) to the file address of the next archive member and returns FAILURE. The LD- FILE structure is prepared for a later ldopen(3). In all other cases, ldclose returns SUCCESS. ldaclose closes the file and frees the memory allocated to the LDFILE structure associated with ldptr regardless of the value of TYPE(ldptr). ldaclose always returns SUCCESS. The function is often used with ldaopen. The program must be loaded with the object file access routine library libmld.a. RELATED INFORMATION fclose(3), ldopen(3), ldfcn(4). delim off ldclose(3)

Navigation Options