marco 4d28b94218 * template updated 21 år sedan
..
Makefile b0d7f0a9f3 * more architecture independance 21 år sedan
README abe97bf0da + Added NanoSleep example 23 år sedan
ex1.pp 72fa25740f * 1.9.x updates 21 år sedan
ex10.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex11.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex12.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex13.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex14.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex15.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex16.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex17.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex18.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex19.pp fe840931ad * 1.9.x updates 21 år sedan
ex2.pp 72fa25740f * 1.9.x updates 21 år sedan
ex20.pp fe840931ad * 1.9.x updates 21 år sedan
ex21.pp b95908698f * 1.9.x updates 21 år sedan
ex22.pp b95908698f * 1.9.x updates 21 år sedan
ex23.pp b95908698f * 1.9.x updates 21 år sedan
ex24.pp 42e0038611 * 1.9.x updates 21 år sedan
ex25.pp 42e0038611 * 1.9.x updates 21 år sedan
ex26.pp 42e0038611 * 1.9.x updates 21 år sedan
ex27.pp 42e0038611 * 1.9.x updates 21 år sedan
ex28.pp 42e0038611 * 1.9.x updates 21 år sedan
ex29.pp 92ff8042a1 * 1.9.x updates 21 år sedan
ex3.pp 72fa25740f * 1.9.x updates 21 år sedan
ex30.pp 3e7ae43113 * 1.9.x fixes 21 år sedan
ex31.pp 3e7ae43113 * 1.9.x fixes 21 år sedan
ex32.pp 3e7ae43113 * 1.9.x fixes 21 år sedan
ex33.pp 5f8f040fdc * 1.9.x fixes 21 år sedan
ex34.pp 5f8f040fdc * 1.9.x fixes 21 år sedan
ex35.pp 5f8f040fdc * 1.9.x fixes 21 år sedan
ex36.pp 5f8f040fdc * 1.9.x fixes 21 år sedan
ex37.pp 5f8f040fdc * 1.9.x fixes 21 år sedan
ex38.pp 5f8f040fdc * 1.9.x fixes 21 år sedan
ex39.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex4.pp 72fa25740f * 1.9.x updates 21 år sedan
ex40.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex41.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex42.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex43.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex44.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex45.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex46.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex47.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex48.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex49.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex5.pp 72fa25740f * 1.9.x updates 21 år sedan
ex51.pp 7dcad07b60 * 1.9.x fixes 21 år sedan
ex52.pp e35a3f8c65 * more 1.9.x fixes 21 år sedan
ex53.pp e35a3f8c65 * more 1.9.x fixes 21 år sedan
ex54.pp e35a3f8c65 * more 1.9.x fixes 21 år sedan
ex55.pp e35a3f8c65 * more 1.9.x fixes 21 år sedan
ex56.pp e35a3f8c65 * more 1.9.x fixes 21 år sedan
ex57.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex58.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex59.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex6.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex60.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex61.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex62.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex63.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex64.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex65.pp ab913d0d17 * more 1.9.x fixes 21 år sedan
ex66.pp e7b88006d2 * more fixes. Linux specific cases ifdef linuxed 21 år sedan
ex67.pp e7b88006d2 * more fixes. Linux specific cases ifdef linuxed 21 år sedan
ex68.pp e7b88006d2 * more fixes. Linux specific cases ifdef linuxed 21 år sedan
ex69.pp e7b88006d2 * more fixes. Linux specific cases ifdef linuxed 21 år sedan
ex7.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex70.pp e7b88006d2 * more fixes. Linux specific cases ifdef linuxed 21 år sedan
ex71.pp e7b88006d2 * more fixes. Linux specific cases ifdef linuxed 21 år sedan
ex72.pp e7b88006d2 * more fixes. Linux specific cases ifdef linuxed 21 år sedan
ex8.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
ex9.pp 92ed8c2f77 * 1.9.x updates 21 år sedan
foot.tex 071ce784ef + New version for release 28 år sedan
head.tex 071ce784ef + New version for release 28 år sedan
newex 579b597283 Initial revision 28 år sedan
serial.pp 7415e61f02 + Donated by Brad Campbell 26 år sedan
template.pp 4d28b94218 * template updated 21 år sedan

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.