encap_pkgspec_parse man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

encap_pkgspec_parse(3)		C Library Calls		encap_pkgspec_parse(3)

NAME
       encap_pkgspec_parse, encap_pkgspec_join - process Encap pkgspecs

SYNOPSIS
       #include <encap.h>

       int  encap_pkgspec_parse(char  *pkgspec,	 char *name, size_t nlen, char
       *ver, size_t vlen, char *platform, size_t plen, char *extension, size_t
       elen);

       int  encap_pkgspec_join(char  *buf,  size_t  buflen,  char  *name, char
       *ver);

VERSION
       This man page documents version 2.3 of libencap.

DESCRIPTION
       The encap_pkgspec_parse() function splits up pkgspec into its component
       parts.	If  name  is  not  NULL, it points to a buffer of size nlen to
       which the package name is written.  If ver is not NULL, it points to  a
       buffer  of size vlen to which the package version is written.  If plat‐
       form is not NULL, it points to a buffer of size plen to which the pack‐
       age's  platform	is  written.  If extension is not NULL, it points to a
       buffer of size elen to which the package's extension is written.

       The encap_pkgspec_join() function combines name and ver to form	a  new
       pkgspec.	  The  new  pkgspec  is	 written to the buffer buf with length
       buflen.

RETURN VALUES
       The encap_pkgspec_parse() and encap_pkgspec_join() functions  return  0
       on success, or -1 on error (and set errno).

University of Illinois		   Oct 2002		encap_pkgspec_parse(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net