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

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.