Define the dosexecpgm function used in the os/2, Operating System

Assignment Help:

Define the DosExecPgm Functions used in the OS/2

DosExecPgm (objBuffer, objLen, flags, cmdLine, env, &resultCode, execName)

DosExecPgm function is designed to load an executable image as a child process. An object buffer and its length (objBuffer and objLen respectively) may be specified to receive return information from an unsuccessful exec of the process. The flags parameter specifies optional execution characteristics of the newly created process.

The process may be executed asynchronously or synchronously to the parent process or like a background process. An optional command line (cmdLine) and environment (env) may be passed to the child process. In env is NULL, the child process inherits the parent's environment. A resultCode will be retuned upon completion of the exec. If the child process is asynchronously exceeded successfully, the first ULONG of the resultCode structure will contain the process ID of the new process. The name of the executable image to load is passed last as the execName parameter.


Related Discussions:- Define the dosexecpgm function used in the os/2

Explain deadlock detection and recovery, Deadlock Detection and Recovery ...

Deadlock Detection and Recovery It's a method of permitting the system to enter a deadlock state, detect it and then recover. Deadlock detection : Is the process of

Pstree, Construct a process tree similar to Figure 1. Look up the Linux com...

Construct a process tree similar to Figure 1. Look up the Linux command pstree -p and describe what it does. Then type in the command the capture the output.

Explain deadlock, Explain Deadlock Every process in a set of processes ...

Explain Deadlock Every process in a set of processes is waiting for an event which only a process in the set can cause.

Define dynamic loading, Define dynamic loading. To obtain better memory...

Define dynamic loading. To obtain better memory-space utilization dynamic loading is used. With dynamic loading, a routine is not loaded until it is called. All routines are ke

BC0056, Write a C program that illustrates the creation of child process us...

Write a C program that illustrates the creation of child process using fork system call. One process finds sum of even series and other process finds sum of odd series.

What is an i/o subsystem?, What is an I/O subsystem? The control of dev...

What is an I/O subsystem? The control of devices connected to the computer is a main issue while designing operating systems. Since I/O devices differ widely in their function

What are overlays, What are overlays? To enable a process to be larger ...

What are overlays? To enable a process to be larger than the amount of memory allocated to it, overlays are used. The idea of overlays is to keep in memory only those instructi

Aggregate planning, Prepare a report that motivates alternatives reactive s...

Prepare a report that motivates alternatives reactive strategies that can be used by wind Mud clothing factory

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd