Directory ως απλόαρχείο

Ioannis Ioannou roryt at hol.gr
Thu Oct 21 08:32:20 EEST 1999


Kostas Gewrgiou wrote:
> 
> Apo to http://www.unix-systems.org/single_unix_specification_v2/xsh/read.html
> ......
> ERRORS
>    [EISDIR]
> The fildes argument refers to a directory and the implementation does not allow
> the directory to be read using read(), pread() or readv(). The readdir()
> function should be used instead.
> ......
> 
> Synepos kanenas den sou eggyatai oti to read the petyxei se directory..
> To man tis read(2) exei to EISDIR sta errors episis, to manual tis glibc
> omos den to anaferei parakseno.
> 

Kai omws einai krima. Ena apo ta pragmata pou me eixane entipwsiasei
otan protomathena Unix htane oti mporouses na anoikseis ena dir, kai na
to diabaseis san aplo arxeio :-( (Bebaia, tote akomi oi argc/argv
mpainane mono kato apo thn main()....) 

-- 
I.Ioannou <roryt at hol.gr>
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list