From 64106c4d3d4ddba8c7bc2af75376e6d3d3d75601 Mon Sep 17 00:00:00 2001
From:
Date: Mon, 29 Jun 2015 20:16:15 +0000
Subject: Update documentation
---
libc/funcs/c95/stdlib/fn.exit.html | 127 +++++++++++++++++++++++++++++++++++++
1 file changed, 127 insertions(+)
create mode 100644 libc/funcs/c95/stdlib/fn.exit.html
(limited to 'libc/funcs/c95/stdlib/fn.exit.html')
diff --git a/libc/funcs/c95/stdlib/fn.exit.html b/libc/funcs/c95/stdlib/fn.exit.html
new file mode 100644
index 0000000..1c181ea
--- /dev/null
+++ b/libc/funcs/c95/stdlib/fn.exit.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+pub unsafe extern fn exit(status: c_int) -> !
Exits the running program in a possibly dangerous manner.
+
+
+
While this forces your program to exit, it does so in a way that has
+consequences. This will skip all unwinding code, which means that anything
+relying on unwinding for cleanup (such as flushing and closing a buffer to a
+file) may act in an unexpected way.
+
+
extern crate libc;
+
+fn main() {
+ unsafe {
+ libc::exit(1);
+ }
+}
+
+extern crate libc;
+
+fn main() {
+ unsafe {
+ libc::exit(1);
+ }
+}
+
+
+
+
+
Keyboard shortcuts
+
+ - ?
+ - Show this help dialog
+ - S
+ - Focus the search field
+ - ⇤
+ - Move up in search results
+ - ⇥
+ - Move down in search results
+ - ⏎
+ - Go to active search result
+
+
+
+
Search tricks
+
+ Prefix searches with a type followed by a colon (e.g.
+ fn:
) to restrict the search to a given type.
+
+
+ Accepted types are: fn
, mod
,
+ struct
, enum
,
+ trait
, typedef
(or
+ tdef
).
+
+
+ Search functions by type signature (e.g.
+ vec -> usize
)
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
cgit v1.2.3