haiku/headers/private/system/syscall_load_image.h
Augustin Cavalier 475172337b headers/kernel: Move B_WAIT_TILL_LOADED to a syscall header.
It is only used as an argument to _kern_load_image directly, not to
any of the load_image functions in image.h, so it belongs in a syscall-
specific header like other such constants.

No functional change intended.
2019-02-01 19:45:56 -05:00

20 lines
562 B
C

/*
* Copyright 2019, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SYSTEM_SYSCALL_LOAD_IMAGE_H
#define _SYSTEM_SYSCALL_LOAD_IMAGE_H
enum {
B_WAIT_TILL_LOADED = 0x01,
/* Wait till the loader has loaded and relocated (but not yet
initialized) the application image and all dependencies. If not
supplied, the function returns before the loader started to do
anything at all, i.e. it returns success, even if the executable
doesn't exist. */
};
#endif /* _SYSTEM_SYSCALL_LOAD_IMAGE_H */