2
0
mazen c3321868d5 * many stuff related to RTL fixed 22 жил өмнө
..
Makefile 3bd6280073 * update makefiles for testing 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 c3321868d5 * many stuff related to RTL fixed 22 жил өмнө
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.