Questions tagged [posix]

POSIX is an acronym for Portable Operating System Interface, a set of standards defining programming APIs and utility behavior for Unix-like operating systems.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
66 views

Console arkanoid in C

On an Internet forum a person came with their homework, to write Arkanoid in a console - it seemed they wanted someone to do their homework for them so I did not respond. However, I found the task ...
5
votes
0answers
121 views

Semaphore implementation by file locking in a bash script

This implementation is inspired by the POSIX functions sem_wait() and sem_post(). It tries to get rid of busy loops in the code ...
4
votes
0answers
30 views

Launch and place application depending on screen resolution

I got fed up off opening a set of applications when I wanted to code. So I decided to read up on AppleScript and came up with the following task for myself. Open a application of choice on a given ...
3
votes
0answers
734 views

SIGCONT Handler for terminal application

I'm writing a C++ application for POSIX environment with terminal-based User Interface. I'd like to make my application's UI be consistent between Ctrl-Z and ...
2
votes
0answers
58 views

Shell script to manage passwords

To get my feet wet with shell scripting I wrote this "minimal command line password manager" (aka pwm) taking inspiration from the well known ...
2
votes
0answers
68 views

N Processing connect to a single process: Socket Programming

The idea of my program is to use pthreads, semaphores, posix shared memory, and sockets to create an environment where N processes (that we will refer to as the children) can connect to a single ...