spring cleaning 1

This commit is contained in:
2023-12-31 10:46:23 -07:00
parent ea31d1221c
commit f501a77764
116 changed files with 4712 additions and 8 deletions
+22
View File
@@ -0,0 +1,22 @@
.TH FALSE 1
.SH NAME
false \(en do nothing, unsuccessfully
.SH DESCRIPTION
False does nothing regardless of operands or standard input.
False is always unsuccessful.
.SH STANDARDS
False functions as described in POSIX.1-2017.
.SH COPYRIGHT
Public domain.
.SH SEE ALSO
true(1)
+1
View File
@@ -0,0 +1 @@
int main() { return 1; }
+5
View File
@@ -0,0 +1,5 @@
use std::process::ExitCode;
fn main() -> ExitCode {
ExitCode::from(1)
}
+8
View File
@@ -0,0 +1,8 @@
true: true.amd64.netbsd.s
as -o true.amd64.netbsd.o true.amd64.netbsd.s
ld -o true true.amd64.netbsd.o /usr/lib/sysident.o
clean:
rm -f true.amd64.netbsd.o true
.PHONY: clean
+22
View File
@@ -0,0 +1,22 @@
.TH TRUE 1
.SH NAME
true \(en do nothing, successfully
.SH DESCRIPTION
True does nothing regardless of operands or standard input.
True is always successful.
.SH STANDARDS
True functions as described in POSIX.1-2017.
.SH COPYRIGHT
Public domain.
.SH SEE ALSO
false(1)
+7
View File
@@ -0,0 +1,7 @@
.section ".note.netbsd.ident", "a"
.global _start
.text
_start:
mov $1, %rax
mov $0, %rdi
syscall
+1
View File
@@ -0,0 +1 @@
int main(){ return 0; }
+5
View File
@@ -0,0 +1,5 @@
use std::process::ExitCode;
fn main() -> ExitCode {
ExitCode::from(0)
}