Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
waitfor

waitfor

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

waitfor

Wait until a path exists

Syntax:

waitfor pathname [wait_time]

Runs on:

Neutrino

Options:

pathname
The path to test.
wait_time
The maximum number of seconds to wait for the file to appear. It can include one decimal digit to specify tenths of a second. The default is 5.0 seconds.

Description:

The waitfor utility pauses temporarily until a stat() on the specified pathname succeeds. It's often used for synchronization, to allow a resource manager to perform its startup functionality, and then for the process manager to proceed with the further interpretation of the script file.