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
/
libc
/
misc
/
ulltostr.c
File editor
#ifndef __HAS_NO_LONGLONG__ /* unsigned long long to string, Jul 2022 Greg Haerr */ #include <stdlib.h> #define MAX_LONG_LONG_CHARS 66 char *ulltostr(unsigned long long val, int radix) { static char buf[MAX_LONG_LONG_CHARS]; char *p = buf + sizeof(buf) - 1; *p = '\0'; do { int c = val % radix; if (c > 9) *--p = 'a' - 10 + c; else *--p = '0' + c; } while ((val /= radix) != 0); return p; } #endif
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