florian
185a346744
* fix darwin compilation after TTimespecArr changes
2024-01-18 22:19:42 +01:00
florian
774e0f9122
+ support for fputimens on non-linux OSes
...
* reworked fputimens support on linux
+ FileSetDate for all unix OSes
2024-01-14 22:23:11 +01:00
Michael VAN CANNEYT
6ffa3d4a89
* Char -> AnsiChar
2023-07-14 17:26:09 +02:00
Jonas Maebe
8c251db2c1
Darwin: fix compilation on macOS/AArch64 after 1f328cf3
...
No function suffixes there since there's no backward compatibility issue.
2022-07-10 22:28:30 +02:00
Jonas Maebe
1f328cf362
Darwin: use recent versions of stat(fs) records when available
...
When the RTL is built for Mac OS X 10.6 or newer, use the new versions
and the corresponding alternate system library functions.
Also extracted the Darwin stat record definition to reduce the
ifdef hell.
2022-07-06 22:25:05 +02:00
florian
c1f85ac3a1
+ initial implementation of path dependent IsFileNameCaseSensitive/IsFileNameCasePreserving functions for darwin
...
git-svn-id: trunk@49164 -
2021-04-10 13:29:59 +00:00
svenbarth
efe6b32638
+ add declaration of FpSchedGetAffinity when the Linux target is compiled with FPC_USE_LIBC
...
git-svn-id: trunk@48121 -
2021-01-09 15:58:18 +00:00
svenbarth
90278f4859
+ add fpmprotect function to complete fpmmap/fpmunmap
...
git-svn-id: trunk@42181 -
2019-06-06 20:46:01 +00:00
Károly Balogh
e547dfa837
haiku: update baseunix unit, remove syscalls code, flock() and nanosleep() is actually supported on Haiku for a long time now, so lets use it
...
git-svn-id: trunk@40823 -
2019-01-10 03:51:35 +00:00
pierre
98be7e67f1
Disable FpSigTimedWait also for BeOS
...
git-svn-id: trunk@37259 -
2017-09-20 08:49:12 +00:00
marco
d98065d706
* change external name of wait to wait instead of waitpid. Reported
...
by Toshihiko Okuhara, mantis #32288
git-svn-id: trunk@36858 -
2017-08-08 10:56:54 +00:00
Jonas Maebe
16183bebfe
* libc's open() function is a varargs function
...
git-svn-id: trunk@29585 -
2015-01-30 19:31:25 +00:00
Jonas Maebe
832b902df6
* ordered the declarations the same was as in bunxh.inc, so it's easier
...
to see what's missing
+ added missing declarations for fpexecv (causing an unnecessary
slowdown in executeprocess due to it calling the ansistring overload),
fplink, fpwait and fpsetrlimit
* changed sigset parameters of FpSigSuspend and FpSigTimedWait from const
into constref, since they must be passed by reference
git-svn-id: trunk@25167 -
2013-07-24 13:49:35 +00:00
Jonas Maebe
7c0469e1fd
* link libbsd for AIX, because several UNIX routines are part of its BSD
...
Compatibility library
git-svn-id: trunk@20788 -
2012-04-11 18:00:08 +00:00
Jonas Maebe
8d8fc0fdee
+ RTL for AIX
...
git-svn-id: trunk@20786 -
2012-04-11 17:59:49 +00:00
marco
07fabab526
* fpgetsid, Mantis #20329
...
git-svn-id: trunk@19178 -
2011-09-22 13:21:38 +00:00
Jonas Maebe
1258fd6ef0
- disabled FpSigTimedWait also for haiku (based on patch by
...
Olivier Coursiere, mantis #16996 )
git-svn-id: trunk@15620 -
2010-07-20 20:54:04 +00:00
Jonas Maebe
62ece31615
- disabled fpsigtimedwait for darwin because it doesn't exist there
...
git-svn-id: trunk@15605 -
2010-07-18 22:07:33 +00:00
daniel
1009a84e25
+ Add modify_ldt to linux unit
...
+ Add sched_yield to linux unit
- Remove clone for m68k from linux unit (unimplemented assembler section)
+ Add fpsigtimedwait to baseunix unit
git-svn-id: trunk@15602 -
2010-07-18 21:53:26 +00:00
marco
b8d5a8f44c
* Linux specific time_t fixes. Also tested with -dFPC_USE_LIBC and more problem fixed.
...
git-svn-id: trunk@14586 -
2010-01-09 22:02:36 +00:00
marco
5121f470a2
* moved ugetrlimit to the implementation (as linux specific call it shouldn't be exported)
...
* syscall implementation for FreeBSD of get/setrlimit
git-svn-id: trunk@13875 -
2009-10-16 18:47:43 +00:00
Jonas Maebe
ef1c033f49
+ added fppause() for FPC_USE_LIBC
...
* fixed test
git-svn-id: trunk@13436 -
2009-07-24 21:52:01 +00:00
marco
7c52be9287
* moved a linux specific call to the implementation of system, where
...
it is used. General Unix units should not expose Linux-specific
functionality.
git-svn-id: trunk@13427 -
2009-07-23 11:35:18 +00:00
florian
c127154efa
o Haiku patches by Olivier Coursiere
...
+ add posix thread support
* improve signal handling
* synchronize haiku's baseunix unit with the unix one (maybe it will be possible to remove Haiku's one in a future patch, but i keep it for now)
+ add support for standard sockets
* fix some functions import to use the right libraries under Haiku
* fix packages compilation
git-svn-id: trunk@12636 -
2009-02-01 10:30:55 +00:00
Jonas Maebe
9b67b6469b
* fixed FpFcntl() for libc-based systems
...
* fixed FpIoctl() for Linux/libc (it also uses varargs)
git-svn-id: trunk@12628 -
2009-01-29 15:38:17 +00:00
micha
4594758ae5
+ add poll support for unix
...
git-svn-id: trunk@12128 -
2008-11-16 17:05:47 +00:00
Jonas Maebe
13d92bfa04
+ fpmkfifo for libc
...
git-svn-id: trunk@11903 -
2008-10-16 11:12:37 +00:00
Jonas Maebe
0c002889b0
+ fpchown() for FPC_USE_LIBC (by Tobias Giesen, mantis #11705 )
...
git-svn-id: trunk@11432 -
2008-07-21 19:37:24 +00:00
florian
494e237b1e
* Haiku patch by Olivier Coursiere
...
- a little more native rtl: it use a native haiku library for select function instead of relying on a compatibility symlink
- haiku in the list of target that support the ide
- some more fix in some packages
git-svn-id: trunk@11135 -
2008-05-31 11:33:02 +00:00
Jonas Maebe
f60c72b773
* fixed ioctl for non-linux: the third parameter is "..." there rather
...
than a pointer. The interface still accepts a plain pointer for
backwards compatibility.
git-svn-id: trunk@9176 -
2007-11-10 18:22:37 +00:00
Almindor
fdcc5f4332
* use TIOCtlRequest instead of hard ifdefs to remove warnings
...
git-svn-id: trunk@8679 -
2007-09-29 14:22:41 +00:00
Almindor
5474e0c987
* fix ioCtl differences between BSD and POSIX
...
git-svn-id: trunk@8676 -
2007-09-29 08:24:23 +00:00
peter
dd3fdac68e
* beos support from Olivier Coursiere
...
git-svn-id: trunk@7443 -
2007-05-24 07:16:17 +00:00
daniel
5da5440e12
* Ptrint considered harmfull bug no 54689826, change to ptruint.
...
git-svn-id: trunk@6961 -
2007-03-23 15:38:28 +00:00
marco
57cfd89fbd
* Linux 64-bit FS patch from neli for FPC_USE_LIBC
...
git-svn-id: trunk@6517 -
2007-02-16 22:16:54 +00:00
Jonas Maebe
f842eb854a
+ fppause for FPC_USE_LIBC
...
git-svn-id: trunk@6282 -
2007-02-01 12:07:12 +00:00
tom_at_work
704f8dae14
* fixed rtl compilation with -dFPC_USE_LIBC by providing a more generic fpprctl() call (including libc variant) and moving related constants slightly
...
git-svn-id: trunk@6134 -
2007-01-22 22:21:32 +00:00
marco
6f0e817973
* pwrite/writev for *BSD + FPC_USE_LIBC. Requires IOVEC et al to be defined in ostypes.inc
...
git-svn-id: trunk@2734 -
2006-03-04 14:21:42 +00:00
marco
a561bb8410
* added fptimes which was already imported in the syscall port
...
git-svn-id: trunk@2624 -
2006-02-18 21:36:11 +00:00
florian
a7893f3be8
* some functions are in different libraries under Solaris
...
git-svn-id: trunk@2475 -
2006-02-07 22:37:35 +00:00
Jonas Maebe
5e694a801e
* use vfork instead of fork for popen and one variant of executeprocess
...
if USE_VFORK is defined (currently only if both BSD and FPC_USE_LIBC
are defined). Speeds up the compilation of the compiler under Darwin
by 20-25% (the larger the project, the bigger the speedup).
git-svn-id: trunk@2317 -
2006-01-21 20:19:19 +00:00
tom_at_work
99ed1d009b
* ppc32/linux: cprt0 update, fixing linking to libc
...
* ppc32/linux: stat update, making the compiler cycle with -dFPC_USE_LIBC again
* fixed typo in ugetrlimit libc function name
git-svn-id: trunk@1756 -
2005-11-15 17:27:42 +00:00
tom_at_work
1b4b42fdd6
* added CheckInitialStkLen() function which checks whether the given stack size value is valid on the OS when creating a thread, fixing stack checking
...
git-svn-id: trunk@1722 -
2005-11-11 12:16:08 +00:00
florian
a78703fb5a
* fixed FPC_USE_LIBC on linux
...
git-svn-id: trunk@1218 -
2005-09-28 19:30:55 +00:00
florian
7626a64e35
+ *stat wrappers for linux
...
git-svn-id: trunk@1213 -
2005-09-27 21:10:55 +00:00
peter
4ace790492
* remove $Log
...
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
peter
ae8b7b153b
* include file cleanup
2005-02-13 20:01:37 +00:00