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);
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.
pblock_copy, pblock_create, pblock_find, pblock_free, pblock_nvinsert, pblock_remove, pblock_str2pblock