[fpc-pascal]Password changing
Helio Cavichiolo Jr
helio at definitylinux.com.br
Fri Jun 7 14:21:55 CEST 2002
It hasn't found nor the type TPasswordRecord or pPasswordRecord, neither the
function getpwnam. Are them in any other unit?
Em Qui 06 Jun 2002 23:20, vocĂȘ escreveu:
> > Program Getpw;
> >
> > Uses
> > Linux;
> >
> > var
> > p: ^TPasswordRecord;
> >
> > begin
> > p := getpwnam('helio');
> > writeln(p.pw_dir);
> > end.
>
> try changing this:
> .....
> var p: pPasswordRecord;
> .....
> writeln(p^.pw_dir);
>
> ciao, ivan
>
>
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list