Contents Menu Expand Light mode Dark mode Auto light/dark mode
Phoenix-RTOS Documentation
Light Logo Dark Logo
Phoenix-RTOS Documentation

Contents

  • Introduction
  • Architecture
  • Building
    • Toolchain
    • Building script
    • Reference project repository
  • Running system on targets
    • Running system on armv7m4-stm32l4x6-nucleo
    • Running system on armv7m7-imxrt105x-evk
    • Running system on armv7m7-imxrt106x-evk
    • Running system on armv7m7-imxrt117x-evk
    • Running system on armv7a7-imx6ull-evk
    • Running system on armv7a9-zynq7000
      • Running system on armv7a9-zynq7000-zedboard
      • Running system on armv7a9-zynq7000-zturn
      • Running system on armv7a9-zynq7000-qemu
    • Running system on armv8r52-mps3an536-qemu
    • Running system on ia32-generic-qemu
    • Running system on riscv64-generic-qemu
    • Running system on riscv64-generic-spike
    • Running system on sparcv8leon-gr716-mini
    • Running system on sparcv8leon3-gr712rc-board
    • Running system on sparcv8leon3-gr716-mimas
  • Loader
    • Architecture
    • Command-line interface
  • Kernel
    • HAL
      • HAL for ARMv7 Cortex-M based targets
      • HAL for ARMv7 Cortex-A based targets
      • HAL for IA32 based targets
      • HAL for RISC-V 64 based targets
      • HAL for SPARCv8 LEON based targets
    • Processes and threads
      • Scheduler
      • Management
      • Synchronization primitives
      • Message passing
      • Namespace
    • Memory management
      • Page allocator
      • Memory mapper
      • Zone allocator
      • Fine-grained allocator
      • Memory objects
    • System calls
      • Debug
      • Memory management
      • Process management
      • Threads management
      • Threads synchronization
      • Inter-process communication
      • File operations
      • Socket operations
      • Interrupts management
      • Performance monitoring
      • Time management
      • Platform management
      • RISC-V specific
    • Common routines
  • Standard library
    • Functions
      • assert.h
        • assert
      • ctype.h
        • isalnum
        • isalpha
        • isblank
        • iscntrl
        • isdigit
        • isgraph
        • islower
        • isprint
        • ispunct
        • isspace
        • isupper
        • isxdigit
        • tolower
        • toupper
      • dirent.h
        • closedir
        • opendir
        • readdir
      • fcntl.h
        • creat
        • fcntl
        • open
      • fnmatch.h
        • fnmatch
      • ioctl.h
        • ioctl
      • libgen.h
        • basename
        • dirname
      • math.h
        • acos
        • atan
        • atan2
        • ceil
        • copysignl
        • cos
        • cosh
        • exp
        • fabs
        • floor
        • fmod
        • frexp
        • ldexp
        • log
        • log10
        • modf
        • pow
        • sin
        • sinh
        • sqrt
        • tanh
      • netdb.h
        • freeaddrinfo
        • gai_strerror
        • getaddrinfo
      • pwd.h
        • getpwnam
        • getpwuid
      • setjmp.h
        • longjmp
        • setjmp
        • siglongjmp
        • sigsetjmp
      • signal.h
        • kill
        • sigaddset
        • sigemptyset
        • sigfillset
        • signal
        • sigpending
        • sigprocmask
        • sigsuspend
      • stdio.h
        • clearerr
        • fclose
        • fdopen
        • feof
        • ferror
        • fflush
        • fgetc
        • fgets
        • fileno
        • fopen
        • fprintf
        • fputc
        • fputs
        • fread
        • freopen
        • fscanf
        • fseek
        • ftell
        • fwrite
        • getc
        • getc_unlocked
        • getchar
        • getline
        • gets
        • pclose
        • perror
        • popen
        • printf
        • putc
        • putchar
        • putchar_unlocked
        • puts
        • remove
        • rename
        • rewind
        • scanf
        • setbuf
        • setvbuf
        • sprintf
        • sscanf
        • tmpfile
        • tmpnam
        • ungetc
        • vprintf
        • vscanf
      • stdlib.h
        • abort
        • atexit
        • atof
        • atoi
        • atol
        • bsearch
        • calloc
        • clearenv
        • exit
        • free
        • getenv
        • labs
        • ldiv
        • malloc
        • mblen
        • mbtowc
        • putenv
        • qsort
        • rand
        • realloc
        • setenv
        • strtod
        • strtol
        • strtoul
        • system
        • unsetenv
        • wcstombs
        • wctomb
      • string.h
        • memccpy
        • memchr
        • memcmp
        • memcpy
        • memmove
        • memset
        • strcat
        • strchr
        • strcmp
        • strcoll
        • strcpy
        • strcspn
        • strdup
        • strerror
        • strlen
        • strncat
        • strncmp
        • strncpy
        • strpbrk
        • strrchr
        • strsignal
        • strspn
        • strstr
        • strtok
        • strxfrm
      • syslog.h
        • syslog
        • openlog
        • syslog
      • sys/mman.h
        • meminfo
        • mmap
        • munmap
      • sys/mount.h
        • umount
      • sys/msg.h
        • msgRecv
        • msgRespond
        • msgSend
      • sys/socket.h
        • accept
        • bind
        • connect
      • sys/stat.h
        • fstat
        • fstatat
        • mkdir
        • mkfifo
        • stat
        • umask
      • sys/times.h
        • times
        • utimes
      • sys/wait.h
        • waitpid
      • termios.h
        • tcdrain
        • tcflush
        • tcgetattr
        • tcsendbreak
      • sys/threads.h
        • condCreate
        • condCreateWithAttr
        • condSignal
        • condWait
        • mutexCreate
        • mutexCreateWithAttr
      • time.h
        • asctime
        • ctime
        • difftime
        • time
        • utime
      • unistd.h
        • _exit
        • alarm
        • chdir
        • close
        • crypt
        • dup
        • exec
        • fchdir
        • fchown
        • fork
        • fsync
        • ftruncate
        • getcwd
        • getegid
        • geteuid
        • getgid
        • getgroups
        • getlogin
        • getopt
        • getpgid
        • getpgrp
        • getpid
        • getppid
        • getsid
        • getuid
        • isatty
        • link
        • lseek
        • pipe
        • read
        • rmdir
        • setegid
        • seteuid
        • setgid
        • setpgid
        • setsid
        • setuid
        • sleep
        • sync
        • tcgetpgrp
        • tcsetpgrp
        • truncate
        • ttyname
        • unlink
        • usleep
        • vfork
        • write
      • wchar.h
        • wcscmp
        • wcslen
    • POSIX emulation server
  • Device drivers
    • Interface
    • Accessing hardware
    • Handling interrupts
    • libsdio
    • Simsensors
  • Filesystems
  • Network stack
    • PPPoU driver
  • USB stack
    • USB Host stack
    • libusb
  • Utilities
    • Phoenix Shell (psh)
      • bind
      • cat
      • cd
      • clear
      • cp
      • date
      • dd
      • df
      • dmesg
      • echo
      • edit
      • exec
      • exit
      • export
      • help
      • history
      • hm
      • ifconfig
      • kill
      • ln
      • ls
      • mem
      • mkdir
      • mount
      • nc
      • nslookup
      • ntpclient
      • perf
      • ping
      • pm
      • printenv
      • ps
      • pshapp
      • pshlogin
      • pwd
      • reboot
      • reset
      • rm
      • rmdir
      • / (runfile)
      • sync
      • sysexec
      • top
      • touch
      • tty
      • umount
      • unset
      • uptime
      • wget
    • Phoenix Downloader (psd)
  • Host utilities
    • Phoenix disk tool (psdisk)
    • Phoenix Serial Uploader (psu)
    • Phoenix Server (phoenixd)
  • Libraries
    • Common Gateway Interface library (libcgi)
    • VirtIO library (libvirtio)
    • VGA library (libvga)
    • Graphics library (libgraph)
    • Universally Unique identifiers library (libuuid)
    • Cache library (libcache)
    • Software watchdog library (libswdg)
  • Ports
  • Tests and testing process
  • Coding convention
Phoenix-RTOS ver. latest
Document Release Versions:
latest
3.3.1
3.3.0
  • Standard library
  • Functions
  • time.h

Back to top

time.h#

  • asctime
  • ctime
  • difftime
  • time
  • utime
Next
asctime
Previous
mutexCreateWithAttr
Copyright © 2024, Phoenix Systems
Made with Sphinx and @pradyunsg's Furo