UNIX/Linux Programming - March 2022

by NoahP
Trouble with base64 programme
 
Hello, I am trying to create a program that encodes the user's input then proceeds to decode it. It's been good until I reached the decoding stage. Instead of d...
[2 replies] Last: Thank you for your help! (by NoahP)
I didn't have any prior experience in this. Need some guidance
 
The parent process should read an array (size 6) of double (frequency (1)) from the user and creates a pipe to do the inter-process communication and then creat...
[1 reply] : If you can start the processes from the shell , then you can type: .... (by kigar64551)
Checking available memory with sysconf(_SC_AVPHYS_PAGES)
 
Hi everyone! I am developing an application and I need to check the ammount of Bytes available. I discovered the sysconf functionality to check some system p...
[3 replies] Last: You could look at the system with htop, sort by "Resident Memory", sit... (by kbw)
Get absolute path on Linux/Unix
 
Hello, I have a program that takes an input and output file as arguments. I want to make sure that the user does not specify both as the same file, becau...
[11 replies] Last: uniquely identify a file on a single computer. Are you sure? As I r... (by kigar64551)
  Archived months: [feb2022] [apr2022]

This is an archived page. To post a new message, go to the current page.