Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about minix

Read more about minix

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - minix

Is there a way to detect there is no battery on the device in js?

I have a minix ks controller which is working from plug and doesn't have a battery. However I'm getting battery data from JS navigator object: This is what I'm getting from getBattery method: But I ...
test-img

Olga

javascript

battery

minix

Votes: 0

Answers: 0

Printf statement is being ignored if a while loop succeeds it

Here is my code: int main(int arg, char *argv[]){ short pid; if((pid = fork()) == 0){ printf("Child is running\n"); while(1) ; } else { printf("Paren...
test-img

Harry Stout

c

system-calls

minix

Votes: 0

Answers: 1

Latest Answer

In my case both statements were printing on stdout. I'm using Arch Linux [tushar@arch Desktop]$ ./main Parent is running Child is running In my case while(1); is being ignored, even after removing th...
test-img

Darth-CodeX

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved