beautypg.com

Parse_progname – Compaq AAR04BCTE User Manual

Page 122

background image

eSNMP API Routines
_ _parse_progname

_ _parse_progname

Parses the full file specification to extract only the file name and file extension.

Format

_ _parse_progname ( file-specification );

Arguments

file-specification

The full file specification for the subagent.

Example

#include "esnmp.h"
static char Progname[100];
sprintf (Progname, "%s%.8X", __parse_progname(prog), getpid());

5–64 eSNMP API Routines