mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 23:46:48 +00:00
17 lines
299 B
C
17 lines
299 B
C
#pragma once
|
|
|
|
#include <common/glib.h>
|
|
#include <process/ptrace.h>
|
|
#include <common/time.h>
|
|
|
|
|
|
/**
|
|
* @brief 休眠指定时间
|
|
*
|
|
* @param rqtp 指定休眠的时间
|
|
* @param rmtp 返回的剩余休眠时间
|
|
* @return int
|
|
*/
|
|
int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
|
|
|