Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

pblock_pb2env() Function

The pblock_pb2env function copies a specified pblock into a specified environment. The function creates one new environment entry for each name-value pair in the pblock. Use this function to send pblock entries to a program that you are going to execute.


char **pblock_pb2env(pblock *pb, char **env);

Return Values

A pointer to the environment.


pblock *pb is the pblock to be copied.

char **env is the environment into which the pblock is to be copied.

See Also

pblock_copy() Function, pblock_create() Function, pblock_find() Function, pblock_free() Function, pblock_nvinsert() Function, pblock_remove() Function, pblock_str2pblock() Function