• Forum
  • UNIX/Linux Programming

UNIX/Linux Programming

by admin
Welcome to this board!
Welcome to the forum for UNIX and Linux programmers in C++.com! In this forum, users can to talk ab...
[no replies]
Detached thread error in helgrind
Hello everyone! I am implementing a detached thread using pthreads. After I run the code under he...
[7 replies] Last: If line 34 executes before line 12, then finished will never be set. ... (by kigar64551)
by t im
Can select use ET mode?
Several blogs tell me that only LT mode can be used in select while both LT and ET mode can be used ...
[2 replies] Last: Sorry for no references and thanks for your helpful reply. (by t im)
How to merge two partitions by using gdisk
How to merge two partitions, one is system, the lower offset, and the other destroyable content, the...
[3 replies] Last: Lets try analogous C++ case: char disk ; // The disk is an array of "... (by keskiverto)
How to Change ncurses window(pad) size?
Is there a way to change the maximum size of a window in ncurses ?
[3 replies] Last: Sorry been a little busy recently, but basically I meant a virtual win... (by highwayman)
Virtual memory assigned to my program
Hi everyone! I´ve got an application which periodically request for some GB of memory, and after...
[7 replies] Last: The application has been working for several days and the physical mem... (by Alejandro Antonio)
by t im
About pthread_detach()
I'm new to pthread and confused about the code below: #include <pthread.h> #include <iostream> #in...
[5 replies] Last: Thanks for all your answer. Get it. (by t im)
by helios
Detached threads
If main() returns while some threads are still running, what happens? Does the process simply end, k...
[9 replies] Last: The example on the cppref site is interesting. Thanks ++ (by Geckoo)
Need but failed run a user's alias inside bash CLI
Failed run a user's alias inside bash CLI How can run a user's alias $ grab 'man' but a...
[4 replies] Last: Presumbaly the OP has alias named "grab" that resolves to some existi... (by kbw)
Know a text editor have feature colorizing the loop?
Sorry if not really right place for this: Is there any S/W development text editor have feature c...
[5 replies] Last: Many modern IDEs have "folding" options and will show the beginning an... (by Duthomhas)
Cannot read data from file
Hello, I have developed an application that needs to read some data from file, but it seems to no...
[3 replies] Last: if you want to open something only if it exists, there is a nocreate f... (by jonnin)
Excellent "Linux System Programming ... " Book
Following is an excellent Linux System Programming book that gives excellent C program examples and ...
[7 replies] Last: Thanks a bunch to all of you for the excellent help and information. B... (by AlexCantor)
by Borneq
Focus to specified application
I am writing multi-document text editor. I have IPC for detect other instance, if other instance is ...
[3 replies] Last: Yes, but focus must be set to window by application which has these wi... (by Borneq)
SMTP SendMail Help
Hello guys, i need help to finish my smtp library because i keep getting error messages from the ...
[6 replies] Last: A couple of things to consider in the future when you ask for programm... (by George P)
Detecting Key Holds MacOS
I've been experimenting around with Ncurses for a bit and discovered the wonderful world of getch() ...
[6 replies] Last: Are you using a console app (implied by use of ncurses)? Any GUI will... (by kbw)
by colt
Build Mesa complain about wrong 32bit Glibc dir
Hi. Trying to build a 32bit Mesa, the process stops with the following error messages: mklib: Maki...
[1 reply] : Isn't there a package you can install for this? Is there a reason you... (by kbw)
by oddy
About "make" command during the installation of GCC
I am compiling GCC 9.3.0 under FreeBSD 12.3 (i386). It is OK when I type ./configure , but when I t...
[3 replies] Last: @kigar64551 @kbw Thanks for answering! (by oddy)
Bug with step 3 database
I would like to ask you a question about the installation of GLPI 9.5.3. For the explanation: I foll...
[1 reply] : You mean this ? https://glpi-install.readthedocs.io/en/latest/install/... (by salem c)
by tonic
IDE+Compiler for LINUX
Hello, I changed my OS lately to LINUX/Debian and on windows i used VS2019, so i thought i ask u wh...
[16 replies] Last: Thanks for sharing such a helpful instruction, really appreciate for y... (by Terrance4933)
return-statement with a value, in function returning 'void' [-fpermissive]
Im trying to connect postgresql db from my server which has ubuntu 18.04 I have the code below but ...
[3 replies] Last: Amazing tutorial! This is exactly the type of post we like to see on t... (by Terrance4933)
  Archived months: [nov2022]