Add initial FnixLib development implementation

This commit is contained in:
Clinv committed 2026-10-13 20:36:51 -03:00
commit 84742ae38e
33 files changed
+3340

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
/*
* FnixLib - tiempo.
*/
#ifndef FNIX_TIME_H
#define FNIX_TIME_H
#include "fnix/types.h"
FNIX_BEGIN_DECLS
/* Segundos desde un origen arbitrario, con un reloj monótono (nunca retrocede).
* Sirve para medir intervalos, no para conocer la hora del día. */
double fnix_time_now(void);
/* Duerme el hilo actual al menos `seconds` segundos. Valores <= 0 no hacen nada. */
void fnix_time_sleep(double seconds);
FNIX_END_DECLS
#endif /* FNIX_TIME_H */