Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » LoadFile("/sys/devices/virtual/thermal/ ...") does not work
Re: LoadFile("/sys/devices/virtual/thermal/ ...") does not work [message #58404 is a reply to message #58386] Wed, 18 May 2022 09:05 Go to previous messageGo to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi Mirek,

Well, the LoadFileRaw() implementation above (a couple of messages up) could likely replace LoadFile() on Linux (or POSIX) and Windows does not need any changes. So, I guess it is just Mac that possibly needs attention. (I do not have a Mac, so I cannot really tell.)

EDIT: Or maybe we could use LoadFileRaw() just for files in POSIX that fail to open with LoadFile(). Then allocation of String would be better optimized for normal files.

Best regards,

Tom

[Updated on: Wed, 18 May 2022 09:15]

Report message to a moderator

 
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 Apr 28 08:55:43 CEST 2024

Total time taken to generate the page: 0.05827 seconds