michael abe97bf0da + Added NanoSleep example пре 23 година
..
Makefile abe97bf0da + Added NanoSleep example пре 23 година
README abe97bf0da + Added NanoSleep example пре 23 година
ex1.pp 579b597283 Initial revision пре 27 година
ex10.pp 579b597283 Initial revision пре 27 година
ex11.pp 579b597283 Initial revision пре 27 година
ex12.pp 579b597283 Initial revision пре 27 година
ex13.pp 579b597283 Initial revision пре 27 година
ex14.pp 579b597283 Initial revision пре 27 година
ex15.pp 579b597283 Initial revision пре 27 година
ex16.pp 579b597283 Initial revision пре 27 година
ex17.pp 579b597283 Initial revision пре 27 година
ex18.pp 579b597283 Initial revision пре 27 година
ex19.pp 579b597283 Initial revision пре 27 година
ex2.pp 337fd20683 + Corrected number of arguments пре 25 година
ex20.pp 579b597283 Initial revision пре 27 година
ex21.pp 579b597283 Initial revision пре 27 година
ex22.pp 579b597283 Initial revision пре 27 година
ex23.pp 579b597283 Initial revision пре 27 година
ex24.pp 579b597283 Initial revision пре 27 година
ex25.pp 579b597283 Initial revision пре 27 година
ex26.pp 579b597283 Initial revision пре 27 година
ex27.pp 579b597283 Initial revision пре 27 година
ex28.pp 579b597283 Initial revision пре 27 година
ex29.pp 90f65781c2 Final changes before release пре 27 година
ex3.pp 579b597283 Initial revision пре 27 година
ex30.pp 579b597283 Initial revision пре 27 година
ex31.pp 579b597283 Initial revision пре 27 година
ex32.pp 579b597283 Initial revision пре 27 година
ex33.pp 579b597283 Initial revision пре 27 година
ex34.pp 579b597283 Initial revision пре 27 година
ex35.pp 579b597283 Initial revision пре 27 година
ex36.pp d6a236092c + Added 64,65, fixed sigactionrec to new definition пре 25 година
ex37.pp d3b493a609 POpen opened files should not be rewritten пре 26 година
ex38.pp cbc6210e24 fixed assignstream example пре 27 година
ex39.pp 579b597283 Initial revision пре 27 година
ex4.pp 579b597283 Initial revision пре 27 година
ex40.pp 579b597283 Initial revision пре 27 година
ex41.pp 579b597283 Initial revision пре 27 година
ex42.pp 579b597283 Initial revision пре 27 година
ex43.pp 579b597283 Initial revision пре 27 година
ex44.pp 579b597283 Initial revision пре 27 година
ex45.pp 579b597283 Initial revision пре 27 година
ex46.pp 579b597283 Initial revision пре 27 година
ex47.pp 579b597283 Initial revision пре 27 година
ex48.pp 579b597283 Initial revision пре 27 година
ex49.pp 579b597283 Initial revision пре 27 година
ex5.pp 9136b41fb6 + Fixed typo пре 27 година
ex51.pp 579b597283 Initial revision пре 27 година
ex52.pp 579b597283 Initial revision пре 27 година
ex53.pp 4d006e2dcb + Corrected example пре 25 година
ex54.pp d37d9c90cb * Fixed example number пре 27 година
ex55.pp d37d9c90cb * Fixed example number пре 27 година
ex56.pp 06690a3731 + Added exit status check пре 27 година
ex57.pp d6a236092c + Added 64,65, fixed sigactionrec to new definition пре 25 година
ex58.pp 338a563380 Forgot to add пре 27 година
ex59.pp 9a1b20ea20 + Added ex59 пре 26 година
ex6.pp 579b597283 Initial revision пре 27 година
ex60.pp cea4083b7d + Added examples 60,61 пре 25 година
ex61.pp cea4083b7d + Added examples 60,61 пре 25 година
ex62.pp 2246730713 + Added examples 62 and 63 пре 25 година
ex63.pp 2246730713 + Added examples 62 and 63 пре 25 година
ex64.pp d6a236092c + Added 64,65, fixed sigactionrec to new definition пре 25 година
ex65.pp d6a236092c + Added 64,65, fixed sigactionrec to new definition пре 25 година
ex66.pp 0cc02b454e + Added example 66 пре 25 година
ex67.pp 13d617c4e9 + Added FSplit and Octal пре 25 година
ex68.pp 13d617c4e9 + Added FSplit and Octal пре 25 година
ex69.pp 92622a3ab2 + Added 69,70 пре 25 година
ex7.pp 579b597283 Initial revision пре 27 година
ex70.pp 92622a3ab2 + Added 69,70 пре 25 година
ex71.pp ec95ce1f48 * fixes to work again пре 25 година
ex72.pp abe97bf0da + Added NanoSleep example пре 23 година
ex8.pp 579b597283 Initial revision пре 27 година
ex9.pp 579b597283 Initial revision пре 27 година
foot.tex 071ce784ef + New version for release пре 27 година
head.tex 071ce784ef + New version for release пре 27 година
newex 579b597283 Initial revision пре 27 година
serial.pp 7415e61f02 + Donated by Brad Campbell пре 26 година
template.pp 579b597283 Initial revision пре 27 година

README

These are the example programs that appear in the FPC documentation.

Units guide, Linux unit :

ex1.pp contains an example of the GetEpochTime function.
ex2.pp contains an example of the GetTimeOfDay function.
ex3.pp contains an example of the EpochToLocal function.
ex4.pp contains an example of the LocalToEpoch function.
ex5.pp contains an example of the GetTime function.
ex6.pp contains an example of the GetDate function.
ex7.pp contains an example of the Execve function.
ex8.pp contains an example of the Execv function.
ex9.pp contains an example of the Execvp function.
ex10.pp contains an example of the Execl function.
ex11.pp contains an example of the Execle function.
ex11.pp contains an example of the Execlp function.
ex13.pp contains an example of the Shell function.
ex14.pp contains an example of the Fork function.
ex15.pp contains an example of the Nice, Set- and GetPriority functions.
ex16.pp contains an example of the GetPid and GetPPid functions.
ex17.pp contains an example of the GetUid and GetEUid functions.
ex18.pp contains an example of the GetGid and GetEgid functions.
ex19.pp contains an example of the fdOpen, fdWrite and fdCLose functions.
ex20.pp contains an example of the fdRead and fdTuncate functions.
ex21.pp contains an example of the Link and UnLink functions.
ex22.pp contains an example of the SymLink and UnLink functions.
ex23.pp contains an example of the Chmod function.
ex24.pp contains an example of the Chown function.
ex25.pp contains an example of the UTime function.
ex26.pp contains an example of the Access function.
ex27.pp contains an example of the Umask function.
ex28.pp contains an example of the FStat function.
ex29.pp contains an example of the LStat function.
ex30.pp contains an example of the FSStat function.
ex31.pp contains an example of the Dup function.
ex32.pp contains an example of the Dup2 function.
ex33.pp contains an example of the Select function.
ex34.pp contains an example of the SelectText function.
ex35.pp contains an example of the OpenDir, ReadDir Telldir and SeekDir functions.
ex36.pp contains an example of the AssignPipe function.
ex37.pp contains an example of the POpen and PClose functions.
ex38.pp contains an example of the AssignStream function.
ex39.pp contains an example of the GetDomainName function.
ex40.pp contains an example of the GetHostName function.
ex41.pp contains an example of the GetEnv function.
ex42.pp contains an example of the SysInfo function.
ex43.pp contains an example of the Uname function.
ex44.pp contains an example of the Octal function.
ex45.pp contains an example of the FExpand function.
ex46.pp contains an example of the FSearch function.
ex47.pp contains an example of the DirName function.
ex48.pp contains an example of the BaseName function.
ex49.pp contains an example of the Glob function.
ex51.pp contains an example of the StringToPPChar function.
ex52.pp contains an example of the GetFS function.
ex53.pp contains an example of the S_ISLNK and related functions.
ex54.pp contains an example of the IOCtl function.
ex55.pp contains an example of the TCGetAttr,TCSetAttr,CFMakeRaw functions.
ex56.pp contains an example of the Shell function.
ex57.pp contains an example of the SigAction function.
ex58.pp contains an example of the Signal function.
ex59.pp contains an example of the Alarm function.
ex60.pp contains an example of the GetDateTime function.
ex61.pp contains an example of the CreateShellArgV function.
ex62.pp contains an example of the ReadLink function.
ex63.pp contains an example of the FRename function.
ex64.pp contains an example of the SysInfo function.
ex64.pp contains an example of the SigRaise function.
ex66.pp contains an example of the MMap function.
ex67.pp contains an example of the FSplit function.
ex68.pp contains an example of the Octal function.
ex69.pp contains an example of the FNMatch function.
ex70.pp contains an example of the StringToPPchar function.
ex71.pp contains an example of the clone function.
ex72.pp contains an example of the NanoSleep function.
serial.pp contains an example of serial port programming in FPC.