/// Perform lazy binding. /// /// Relocations shall be performed at an implementation-defined time, ranging from the time /// of the [`Library::open`] call until the first reference to a given symbol occurs. /// Specifying `RTLD_LAZY` should improve performance on implementations supporting dynamic /// symbol binding since a process might not reference all of the symbols in an executable /// object file. And, for systems supporting dynamic symbol resolution for normal process /// execution, this behaviour mimics the normal handling of process execution. /// /// Conflicts with [`RTLD_NOW`]. /// /// [`Library::open`]: crate::os::unix::Library::open pubconst RTLD_LAZY: c_int = posix::RTLD_LAZY;
/// Perform eager binding. /// /// All necessary relocations shall be performed when the executable object file is first /// loaded. This may waste some processing if relocations are performed for symbols /// that are never referenced. This behaviour may be useful for applications that need to /// know that all symbols referenced during execution will be available before /// [`Library::open`] returns. /// /// Conflicts with [`RTLD_LAZY`]. /// /// [`Library::open`]: crate::os::unix::Library::open pubconst RTLD_NOW: c_int = posix::RTLD_NOW;
/// Make loaded symbols available for resolution globally. /// /// The executable object file's symbols shall be made available for relocation processing of any /// other executable object file. In addition, calls to [`Library::get`] on `Library` obtained from /// [`Library::this`] allows executable object files loaded with this mode to be searched. /// /// [`Library::this`]: crate::os::unix::Library::this /// [`Library::get`]: crate::os::unix::Library::get pubconst RTLD_GLOBAL: c_int = posix::RTLD_GLOBAL;
/// Load symbols into an isolated namespace. /// /// The executable object file's symbols shall not be made available for relocation processing of /// any other executable object file. This mode of operation is most appropriate for e.g. plugins. pubconst RTLD_LOCAL: c_int = posix::RTLD_LOCAL;
target_os = "fuchsia",
target_os = "redox",
target_os = "hurd",
))] { pub(super) const RTLD_LOCAL: c_int = 0;
} else {
compile_error!( "Target has no known `RTLD_LOCAL` value. Please submit an issue or PR adding it."
);
}
}
}
// Other constants that exist but are not bound because they are platform-specific (non-posix) // extensions. Some of these constants are only relevant to `dlsym` or `dlmopen` calls. // // RTLD_CONFGEN // RTLD_DEFAULT // RTLD_DI_CONFIGADDR // RTLD_DI_LINKMAP // RTLD_DI_LMID // RTLD_DI_ORIGIN // RTLD_DI_PROFILENAME // RTLD_DI_PROFILEOUT // RTLD_DI_SERINFO // RTLD_DI_SERINFOSIZE // RTLD_DI_TLS_DATA // RTLD_DI_TLS_MODID // RTLD_FIRST // RTLD_GROUP // RTLD_NEXT // RTLD_PARENT // RTLD_PROBE // RTLD_SELF // RTLD_WORLD // RTLD_NODELETE // RTLD_NOLOAD // RTLD_DEEPBIND
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-19)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.