<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
I use “system("reboot")” in my C program and system does not shutdown.I think that systemd is waiting for some services to shutdown which can't shutdown immediately.<br>
But I don't want to wait for those services to shutdown.How can I shutdown my system immediately in my C program.which API should I call?<br>
Thank you for reply.
</body>
</html>