1
0

spring cleaning 1

This commit is contained in:
dtb
2023-12-31 10:46:23 -07:00
parent ea31d1221c
commit f501a77764
116 changed files with 4712 additions and 8 deletions

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
Retired/true/true.1 Normal file
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)

View File

@@ -0,0 +1,7 @@
.section ".note.netbsd.ident", "a"
.global _start
.text
_start:
mov $1, %rax
mov $0, %rdi
syscall

1
Retired/true/true.c Normal file
View File

@@ -0,0 +1 @@
int main(){ return 0; }

5
Retired/true/true.rs Normal file
View File

@@ -0,0 +1,5 @@
use std::process::ExitCode;
fn main() -> ExitCode {
ExitCode::from(0)
}