U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » LoadFile("/sys/devices/virtual/thermal/ ...") does not work
Re: LoadFile("/sys/devices/virtual/thermal/ ...") does not work [message #58301 is a reply to message #58300] Wed, 13 April 2022 18:45 Go to previous messageGo to previous message
Tom1
Messages: 1319
Registered: March 2007
Ultimate Contributor
mirek wrote on Wed, 13 April 2022 18:39


I suspect that the problem is somewhere here: Core/BlockStream.cpp:474

Probably that S_IFREG flag test. Maybe using S_IFBLK would fix it?

Mirek


Hi,

Unfortunately this does not help. I think, it opens OK, but fails to read.

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BiArray::Create{Head,Tail} with variadic args
Next Topic: Serialize long as uint64 on some platforms
Goto Forum:
  


Current Time: Sun Oct 04 13:26:09 GMT+2 2026

Total time taken to generate the page: 0.01200 seconds