Lazarus
Miscellaneous => Suggestions => LCL => Topic started by: ozznixon on January 11, 2008, 08:38:34 pm
-
I am porting inotify.h and examples over to FPC.
I need to be able to either include syscallh.inc into my unit, or maybe there is another way I am support to implement kernel calls?
- I know I could simply mod my compile options - but this unit will be contributed to FPC once I have it coded and tester.
inotify is a recent Kernel patch that mimics Window's Shell Notification - mimics as in provides basically the same type of functionality.
Thanks,
O.
-
I am porting inotify.h and examples over to FPC.
I need to be able to either include syscallh.inc into my unit, or maybe there is another way I am support to implement kernel calls?
- I know I could simply mod my compile options - but this unit will be contributed to FPC once I have it coded and tester.
inotify is a recent Kernel patch that mimics Window's Shell Notification - mimics as in provides basically the same type of functionality.
Thanks,
O.
Have you tried using the FPC SysCall unit in your code?
Thanks.
-Phil
-
uses
SysCall;
begin
Writeln('Result: ', do_SysCall(syscall_number, arg0, arg1, ...));
end.
-
Thank you guys! Was unaware of that unit! Now everything compiles - mucho thanks - off to testing!
-
Id love to know where you got up to ... implementing INotify..
please can you post the code you have so far..
I need this...
-
Id love to know where you got up to ... implementing INotify..
Just to be found by search engines:
Inotify routines in the RTL's Linux unit: http://www.freepascal.org/docs-html/rtl/linux/inotify_init.html
An example I just wrote: https://user.cs.uni-goettingen.de/~kburghar/study/it/pascal/inotify
-
Id love to know where you got up to ... implementing INotify..
Just to be found by search engines:
Inotify routines in the RTL's Linux unit: http://www.freepascal.org/docs-html/rtl/linux/inotify_init.html
From that page: Documentation generated on: Mar 14 2014
He asked the question back in 2008...
-
He asked the question back in 2008...
And I pointed out I my post's intention is to be found by search engines. What's your problem?