VAddBackgroundProcessInformation
Name
VAddBackgroundProcessInformation - adds the name of a background
process to BG_STATUS.COM file.
Synopsis
VAddBackgroundProcessInformation(command)
char *command;
Description
VAddBackgroundProcessInformation adds the new command that triggered
the background process, the current process ID, and the current date to
the BG_STATUS.COM file. BG_STATUS.COM is an ASCII file.
VAddBackgroundProcessInformation should be called at the very beginning
of a program source code if one plans to run the program in the
background.
Return Value
0 - work successfully.
3 - write error.
4 - file open error.
Parameters
command - the command that triggers the background process.
Side Effects
None
Entry Conditions
None
Related Functions
VRemoveBackgroundProcessInformation.