[C] Findfirst/Findnext for Unix (Linux)

Pagina: 1
Acties:

  • arnova
  • Registratie: Augustus 2001
  • Laatst online: 09-09 09:11

arnova

weet veel, maar niet alles

Topicstarter
Weet iemand wat ik ipv Findfirst / Findnext (DOS, Windows) kan gebruiken voor Unix cq. Linux? Ik wil namelijk een programma van mij porten van Win32 C naar *nix C. Iemand enig idee?

ESP PV-Boiler Controller https://github.com/arnova/pvboiler


  • Infinitive
  • Registratie: Maart 2001
  • Laatst online: 10-08 15:15
Kijk eens in dirent.h
En naar de man(3) pages van de functies ervan.

Bijv: man 3 opendir
In de console/shell

putStr $ map (x -> chr $ round $ 21/2 * x^3 - 92 * x^2 + 503/2 * x - 105) [1..4]


  • arnova
  • Registratie: Augustus 2001
  • Laatst online: 09-09 09:11

arnova

weet veel, maar niet alles

Topicstarter
Wederom bedankt. Dit is al de 2e keer dat je mij kan helpen :-)

P.s. Memory leak is opgelost, zat idd ergens anders.

ESP PV-Boiler Controller https://github.com/arnova/pvboiler


  • Infinitive
  • Registratie: Maart 2001
  • Laatst online: 10-08 15:15
Wederom bedankt. Dit is al de 2e keer dat je mij kan helpen :-)
Die vraag kwam me al zo bekend voor :)
P.s. Memory leak is opgelost, zat idd ergens anders.
Misschien even bij je andere topic erbij zetten. Is dat topic ook "afgesloten" (niet dat iemand er mee verder zou gaan, maar toch, voor de volledigheid).

putStr $ map (x -> chr $ round $ 21/2 * x^3 - 92 * x^2 + 503/2 * x - 105) [1..4]