30 lines · 582 B · C
RawDownload
// SPDX-License-Identifier: ISC /* Fallback half of the system-prompt host block for hosts with no port of * their own (see sysinfo.h). uname and the core count still work; memory and * userland guidance are left out rather than guessed. */#include <stddef.h>#include <stdio.h>#include <stdint.h> #include "sysinfo.h"#include "banned.h" uint64_tclm_cli_sysinfo_physmem(void){	return 0;} const char *clm_cli_sysinfo_hints(void){	return "";} voidclm_cli_sysinfo_fstype(const char *path, char *buf, size_t len){	(void)path;	(void)snprintf(buf, len, "%s", "");}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t