KayJay7 / timespec_math

Basic operations for the struct timespec type

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

timespec_math

Basic operations for the struct timespec type.

Feel free to copypaste and modify them into your C code.

Provided operations:

  • Difference between timespecs
  • Sum between timespecs
  • Multiplication between timespec and int
  • Division between timespec and int

About

Basic operations for the struct timespec type


Languages

Language:C 100.0%