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

Different levels of a multilevel queuing system, Q. What merit is there in ...

Q. What merit is there in having different time-quantum sizes on different levels of a multilevel queuing system? Answer: Processes that require more frequent servicing for ins

Explain interrupts, Interrupts The hardware mechanism that enables a de...

Interrupts The hardware mechanism that enables a device to inform the CPU is called an interrupt. The basic interrupt mechanism works as follows. The CPU hardware has a wire kn

Define page fault, Page fault is a trap to the software gained by the har...

Page fault is a trap to the software gained by the hardware when a process accesses a page that is goes in the virtual address space, but not added in physical memory. In the har

Explain the architecting for processes, Explain the Architecting For Proces...

Explain the Architecting For Processes Processes are very important to the server application developer, as they may be used to increase responsiveness, deduction time, and tur

Explain quick fit algorithams, QUICK FIT ALGORITHAMS Here we keep apart...

QUICK FIT ALGORITHAMS Here we keep apart lists for holes and processes. Therefore this reduces the searching time for holes Hole list and Process list. If we organize the li

Multi user systems technology, describe main points of multiuser and multi ...

describe main points of multiuser and multi tasking operating systems.

Command interpreters, Develop a user mode command interpreter which support...

Develop a user mode command interpreter which support these functions: "list-short" -- just like ls without any options "list-long" -- same as ls -l "change" -- same as cd Your co

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