Sponsored Content
Full Discussion: Does MAC OSX follow POSIX?
Operating Systems OS X (Apple) Does MAC OSX follow POSIX? Post 302482103 by jlliagre on Monday 20th of December 2010 04:14:29 PM
Old 12-20-2010
Note that POSIX standardize APIs. It doesn't mandates any of them to be system system calls vs library functions.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mac OSX vs. UNIX

To anyone that has the answer: What does UNIX have that Mac OSX doesn't. I am a programmer, and I am wondering if I could just get Mac OSX for my programming needs instead of UNIX. But my major question is what does UNIX have that Mac OSX doesn't. Thank you if you have the answer, and are willing... (2 Replies)
Discussion started by: REM
2 Replies

2. UNIX for Dummies Questions & Answers

Mac OSX question

Hi. Is it possible to execute a Cocoa (or Carbon or eaven a classic) program for mac OSX in the terminal window? OSX finder can sometimes be so busy that it wont respond for several minutes, ie if you are uploading a very big file/files to a afp server. Then it would have been nice to start... (7 Replies)
Discussion started by: nicke30
7 Replies

3. UNIX for Dummies Questions & Answers

XWindows on Mac OSX

Hello, I'm like most people who post here, I'm new in UNIX. Yesterday I installed Xwindows on my OSX box just to learn as much about UNIX as I can. I been messing around with my terminal and conf files that have to do with Apache and sendmail and didn't mess anything up so I thought I was ready to... (2 Replies)
Discussion started by: Alpha_Harblo
2 Replies

4. Cybersecurity

ssh and Mac OSX

Please help if you are familiar with Mac OSX. I downloaded OpenSSH for a newer version of SSH than what comes with OS 10.1. What a mistake! Now every time I try to make a connection to my remote server I get an message that ssh was built against version such and such and I have version such and... (2 Replies)
Discussion started by: glfisfn
2 Replies

5. UNIX Desktop Questions & Answers

Mac Osx.2

I finally broke down and decided to buy a new piece of hardware. I think I made the right decision when I chose an Apple iBook - OSX is incredible! I haven't used a Mac since System7.5, and 10.2 is just blowing me away! Best of all, it's easy to use for people who are not used to Mac, but if I... (5 Replies)
Discussion started by: LivinFree
5 Replies

6. UNIX for Dummies Questions & Answers

UNIX mode in Mac OSX - problems

I am a Macintosh using OS 10.2 which has Unix underpinnings. When entering console mode (the root system where unix takes over) I get the following message - bootstrap_look_up () failed (ipc/send) invalid destination port I always used to get a localhost# prompt (and then can use unix... (1 Reply)
Discussion started by: ngilman
1 Replies

7. Windows & DOS: Issues & Discussions

win-xp/mac-osx

I'm currently looking for an emulation program that would allow me to open and run osx app.s and programs on a windows xp based system. if not is there a unix/linux/lindows program that may do the same? (3 Replies)
Discussion started by: area51nstk
3 Replies

8. OS X (Apple)

Mac OSX kernel

is there anyway of looking at, and if possible, modifying it? (2 Replies)
Discussion started by: cleansing_flame
2 Replies

9. OS X (Apple)

Cron on Mac OSX

Hello, I was wondering about my Cron Script: HELL=/bin/tcsh PATH=/sbin:/bin:/usr/sbin:/usr/bin HOME=/var/log MAILTO=jwillis 25 1 * * * root /Users/jwillis/Fbcmd\Scripts/DailyBirthday.scrmy returned message is: Subject: Cron <jwillis@Macintosh-66> root ... (1 Reply)
Discussion started by: jwillis0720
1 Replies

10. UNIX for Advanced & Expert Users

UML on MAC OSX

Hey guyz, Is it possible to build user-mode linux kernel on MAC OSX? Please I need a reply asap as I have an assignment that I need to do. Thanks! Adel (1 Reply)
Discussion started by: aje02
1 Replies
SD-LOGIN(7)							     sd-login							       SD-LOGIN(7)

NAME
sd-login - APIs for tracking logins SYNOPSIS
#include <systemd/sd-login.h> pkg-config --cflags --libs libsystemd-login DESCRIPTION
sd-login.h provides APIs to introspect and monitor seat, login session and user status information on the local system. See Multi-Seat on Linux[1] for an introduction into multi-seat support on Linux, the background for this set of APIs. Note that these APIs only allow purely passive access and monitoring of seats, sessions and users. To actively make changes to the seat configuration, terminate login sessions, or switch session on a seat you need to utilize the D-Bus API of systemd-logind, instead. These functions synchronously access data in /proc, /sys/fs/cgroup and /run. All of these are virtual file systems, hence the runtime cost of the accesses is relatively cheap. It is possible (and often a very good choice) to mix calls to the synchronous interface of sd-login.h with the asynchronous D-Bus interface of systemd-logind. However, if this is done you need to think a bit about possible races since the stream of events from D-Bus and from sd-login.h interfaces such as the login monitor are asynchronous and not ordered against each other. If the functions return string arrays, these are generally NULL terminated and need to be freed by the caller with the libc free(3) call after use, including the strings referenced therein. Similar, individual strings returned need to be freed, as well. As a special exception, instead of an empty string array NULL may be returned, which should be treated equivalent to an empty string array. See sd_pid_get_session(3), sd_uid_get_state(3), sd_session_is_active(3), sd_seat_get_active(3), sd_get_seats(3), sd_login_monitor_new(3) for more information about the functions implemented. NOTES
These APIs are implemented as shared library, which can be compiled and linked to with the libsystemd-login pkg-config(1) file. SEE ALSO
systemd(1), sd_pid_get_session(3), sd_uid_get_state(3), sd_session_is_active(3), sd_seat_get_active(3), sd_get_seats(3), sd_login_monitor_new(3), sd-daemon(7), sd-readahead(7), pkg-config(1) AUTHOR
Lennart Poettering <lennart@poettering.net> Developer NOTES
1. Multi-Seat on Linux http://www.freedesktop.org/wiki/Software/systemd/multiseat systemd 03/16/2012 SD-LOGIN(7)
All times are GMT -4. The time now is 06:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy