Skip to content

Tag: c++

Where is mono’s log file?

I’m having an issue with a program crashing on mono, I have an idea why but I can not confirm it as I can not find the log location for mono on ubuntu. I’m developing on windows however I’m deploying to a ubuntu server. So my question is, where is the standard log location for mono on ubuntu…

[Linux | Cscore]avutil-55 DllNotFoundException

I am trying to run my application which uses cscore (https://github.com/filoe/cscore) and its sub namespace “CSCore.Ffmpeg” I’ve already tried what the author explained in “https://github.com/filoe/cscore/blob/master/CSCore.Ffmpeg/Readme.md” (‘LD_LIBRARY_PATH=./ mono MyApp.…

C fork and pipe multiple process

I’m trying to implement this command cat /etc/passwd | grep 1000 | cut -d: -f1 in C using system calls fork and pipe. When I use only two commands cmd1 | cmd2 so 1 fork it works fine but when I’m using more than 2 process the problem occurs Here is my code, I think the problem is in the

Get filesystem creation date in C

I need to know the creation datetime of the filesystem on a disk (in a Linux machine) with C. I would like to avoid using shell commands, such as and make a parser. Thanks Answer From a program coded in C (or in any language capable of calling C routines) you would use the stat(2) system call (or, with recent