elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
sh_utils
/
dirname.c
File editor
#include <unistd.h> #include <string.h> #include <libgen.h> int main (int argc, char *argv[]) { char *line; if (argc == 2) { line = dirname(argv[1]); write(STDOUT_FILENO, line, strlen(line)); write(STDOUT_FILENO, "\n", 1); } else { write(STDERR_FILENO, "Usage: dirname [PATH]\n", 22); return 1; } return 0; }
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history