The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
6 views

How to know if the following function is returning the correct result or an error condition in `jansson`? [migrated]

I am using the jansson JSON library for an application. I was reading the API and came across these functions: json_integer_value, json_real_value and json_number_value. The first one returns the ...
0
votes
0answers
29 views

Very strange issue, something is blocking specific links on local domain

I have a very strange issue and I ran out of ideas. The major problem is that the symptoms are not consistent. I have a short link website hosted on 2 virtual machines, one with nginx+php-fpm and one ...
2
votes
0answers
23 views

API Monitoring and Hooking

I am currently reading the "Malware Analyst's Cookbook and DVD". There is a chapter "Dynamic Analysis" and there are also some recipes about hooking and monitoring API calls of process but it is for ...
9
votes
4answers
143 views

Why does *BSD uses driver specific names for network interfaces? Does it imply limitations?

I notice that depending on the brand of the network card, interface names differ (driver dependent I suppose). Why does *BSD uses driver specific names for network interfaces? Does it mean there is ...
1
vote
1answer
96 views

API for IPROUTE2 in any programming language

Is there any API that can be used to manipulate Linux routing table? I want to write a program that listens to sockets and then modifies routing table accordingly, just a simple code, but need an API. ...
4
votes
1answer
128 views

Use case of providing file-like API to terminal/console

It was explained in this Stack Overflow thread that each logical terminal has a "pseudo-terminal", and that writing to one: $ cat some-file.txt > /dev/ttys002 will cause the data to appear in ...
0
votes
1answer
70 views

API for panel applets on eOS Pantheon?

Is there any API (esp python or bash) to append new applets on eOS Pantheon's panel? I can't find proper documentation.
4
votes
1answer
294 views

Can I read and write to alternate HFS+ file forks or NTFS data streams from Linux?

It's possible to mount both Apple HFS+ and Microsoft NTFS filesystems under Linux. Both filesystems support multiple content streams per file, though this is not widely used. Apple uses the term ...
1
vote
2answers
1k views

Is there a faster interface for info from /proc/net/tcp?

Given a linux TCP socket's inode (obtained via /proc/<pid>/fd), is there a faster way to look up the information that I can get from /proc/net/tcp about this socket? I have written a ...
18
votes
6answers
764 views

How stable are Unix shell “stdin/stdout APIs”?

grepping, awking, sedding, and piping are day-to-day routine of a user of any Unix-like operating system, may it be on the command line or inside a shell script (collectively called filters from now ...
4
votes
1answer
163 views

TWAIN API support on FreeBSD

Does FreeBSD support in any way the TWAIN API? If not, what is the API that could be used to read data from imaging devices (webcams) - preferably in a portable way.
2
votes
2answers
173 views

Retrieve countries timezones

What is the best way to retrieve the current time zones of a number of countries, on a daily basis? (that would take into account DST changes, of course) Reliably If possible the Linux way (i.e. ...
2
votes
2answers
410 views

stop pipe() opening stdin

I've currently got code that forks two processes. The first reads a http streaming radio and pushes the data down a pipe (opened with pipe() ) for the second process to read, decode and output to the ...
14
votes
4answers
4k views

After fork(), where does the child begin its execution?

I'm trying to learn UNIX programming and came across a question regarding fork(). I understand that fork() creates an identical process of the currently running process, but where does it start? For ...