In many C programs, I have the need to convert an errno into a printable string. Since strerror is not thread-safe and perror only works with stderr, I resort to using strerror_r, see strerror_r. However, there are two different definitions of this function:
int strerror_r(int errnum, char...
currently am exploring the default Command Lines of FreeBSD 14.0-RELEASE-p2
From POSIX XCU standard, there is 160 commands
1- What would be the best way to learn posix with focus on BSD's, shell and Perl?
2- Is there another language for sysadmins besides shell and Perl?
3- What is the best way to navigate the FreeBSD source code?
4- What are the languages most used in FreeBSD development?
PS.: I'm not a developer...
I have a Mail Server Jail that uses dovecot, postfix and maia (security/maia); dovecot and postfix start automatically when the jail starts or restarts; it's maiad that does not. I have to manually do:
# service maiad start
(and then it loads fine and my mail server...
I am trying to learn more about NFSv4 ACLs and their mapping to POSIX ACLs.
I was surprised to find that when I issue a chmod on a file with a 7 (e.g. chmod 755 or chmod 777) the resulting NFSv4 ACL does not have the Dd flags set.
This is confusing to me, because I am able to delete the file...
For a service that can optionally listen on a local (Unix) socket, I want to implement detection of a "stale" socket, so it can startup without user intervention in this case by just unlinking the stale socket. As my service is designed around an event loop using pselect, I put all sockets into...
I'm trying to remove any implementation specific (GNU Make) details from my Makefiles but having a hard time fixing some issues. The structure of my projects is like so;
1) The mere presence of an...