encap_platform_split 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_platform_name(3)		C Library Calls		encap_platform_name(3)

NAME
       encap_platform_name,    encap20_platform_name,	 encap_platform_split,
       encap_platform_compat - manipulate Encap platform names

SYNOPSIS
       #include <encap.h>

       char *encap_platform_name(char *buf, size_t bufsize);
       char *encap20_platform_name(char *buf, size_t bufsize);
       int encap_platform_split(char *pkg_platform, char *base,	 size_t	 base‐
       len, char *suffix, size_t suffixlen);
       int   encap_platform_compat(char	 *pkg_platform,	 char  *host_platform,
       encap_list_t *host_suffix_l);

VERSION
       This man page documents version 2.3 of libencap.

DESCRIPTION
       The encap_platform_name() function writes the name of the host platform
       into the buffer pointed to by buf with size bufsize.

       The  encap20_platform_name()  function  is identical to the encap_plat‐
       form_name() function, except that it  writes  the  obsolete  Encap  2.0
       platform name instead of the Encap 2.1 platform name.

       The  encap_platform_split()  function  splits a package's platform name
       into the base platform name (which is written to	 the  buffer  base  of
       length baselen) and the platform suffix (which is written to the buffer
       suffix of length suffixlen).

       The encap_platform_compat() function checks a package's	platform  name
       (pkg_platform) for compatibility with the host platform (host_platform)
       and the allowable suffix list (host_suffix_l).

RETURN VALUES
       The encap_platform_name() function returns a pointer to buf.

       The encap20_platform_name() function returns a pointer to buf.

       The encap_platform_split() function returns 0  on  success,  or	-1  on
       failure (and sets errno).

       The  encap_platform_compat()  function returns 0 if the platform is not
       compatible, 1 if the platform is compatible, or -1 on failure (and sets
       errno).

University of Illinois		   Oct 2002		encap_platform_name(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