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.