Skip to content

Source code to build rtcwake application for Linux

Notifications You must be signed in to change notification settings

phien-ntace/rtcwake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source code to build rtcwake application for Linux

  • Add your own Makefile to build. To build for your desktop, use this command gcc -o rtcwake rtcwake.c -I.
  • Use below command to excute
rtcwake -m $(sleep_method) -s $(seconds)

Or call through system()

system("/root/rtcwake -m mem -s 10");

Releases

No releases published

Packages

No packages published

Languages