Symisc Systems

Libcox Built-in Commands


Star Follow @symisc

The following page enumerates all Libcox built-in commands. As of this release, there is a total of 145 commands.

Commands are the abstraction layer that interface between your host application and the underlying operating system to permit cross platform system calls (Refer to Libcox Architecture, Libcox in 3 minutes or Less or Libcox API Introduction for additional information).

To get the full list of defined commands, simply invoke CMD_LIST which return an array holding all the installed commands. Commands are executed from your application via libcox_exec(). Foreign commands can be added easily via the libcox_register_command() interface. See the download page for some samples. For feature requests & bug reporting, please do it here.



chdir

getcwd

rmdir

mkdir

realpath

echo

rename

setenv

getenv

fullpath

random

getpid

getuid

getgid

username

isdir

islnk

isfile

isrd

iswr

isexec

filesize

fileatime

filectime

filemtime

file_exists

tmpdir

stat

chroot

sleep

usleep

unlink

chmod

chown

chgrp

disk_free_space

disk_total_space

filetype

touch

dirname

basename

pathinfo

strglob

fnmatch

link

symlink

umask

uname

round

dechex

decoct

decbin

hexdec

bindec

octdec

baseconvert

substr

substr_compare

substr_count

chunk_split

html_escape

html_decode

strlen

strcmp

strncmp

strcasecmp

strncasecmp

implode

explode

trim

ltrim

rtrim

strtolower

strtoupper

bin2hex

strstr

stristr

strpos

stripos

strrpos

strripos

strrchr

strrev

size_format

urlencode

urldecode

base64_encode

base64_decode

mktime

idate

localtime

gmdate

strftime

date

gettimeofday

getdate

microtime

time

CMD_LIST

mmap

cat

ls

glob

pwd

cd

lstat