Sponsored Content
Operating Systems OS X (Apple) Sound under OS 10.4.11 and 10.7.2 Post 302568256 by shub22 on Wednesday 26th of October 2011 08:21:45 PM
Old 10-26-2011
Suddenly it works . Thanks! Smilie
You know the equivalent of old UNIX command osascript in order to run a script under UNIX ?
Does not seem to exist anymore under Lion ...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

freeBSD 4.4 sound help please

how do i configure sound on a laptop in FreeBSD 4.4 the laptop is a Green753+ i think the sound is a ess ? can any one help please tryed to make a genric kerl but did not work (1 Reply)
Discussion started by: amicrawler
1 Replies

2. UNIX for Advanced & Expert Users

Sound Problems

Hi All I am having difficulty configuring sound on my system an wonder if anyone can help me. xmms refuses to play telling me that oss_open(): Failed to open audio device (/dev/sound/dsp): No such file or directory what I have done to try and fix this is 1. create /dev/sound/dsp ... (7 Replies)
Discussion started by: silvaman
7 Replies

3. UNIX for Dummies Questions & Answers

Sound with Mandrake 9

Howdy all, I have a creative vibra 16 sound card and Mandrake linux 9. I can't seem to get the sound server to run (it comes up with errors). I'm a bit of a linux newb so I'd really appreciate any help on what I have to do to get it working. Thanks! ~ Paul (2 Replies)
Discussion started by: KrazyGuyPaul
2 Replies

4. UNIX for Dummies Questions & Answers

Does this sound right?

A user's default permissions when creating new files or directories is set by the umask of either the system or in the startup script of the user itself. For example, I have 'umask 022' in my .profile which means that my default permissions will be 755. Typically, the system default umask is 022,... (1 Reply)
Discussion started by: wmosley2
1 Replies

5. Linux

sound cards

i installed Red Hat Fedora (successfully this time) and my sound card wasnt automticly found or what ever. so how do i get my sound working and stuff? how do i gonfigure the sound card? how do i get it to detect the sound card? (4 Replies)
Discussion started by: xcaliber
4 Replies

6. Linux

sound driver

i install fedora core 4 but it fail to detect my sound card. my sound card is sigmatel. how can i solve this problem? can i install other sound driver? thx (9 Replies)
Discussion started by: wsc
9 Replies

7. UNIX for Dummies Questions & Answers

turn off sound

how to disable anoying beep sound??? (4 Replies)
Discussion started by: nnn
4 Replies

8. UNIX for Advanced & Expert Users

Sound Device

hi all i have a problem that if i use something like firefox it will grab the sound device and not release it, so i can not use skype is there a command to see what is using the audio device i am using Fedora thaks Adam (3 Replies)
Discussion started by: ab52
3 Replies

9. Linux

No sound

I reformatted my hard drive and installed Mandriva 2011. It works fine. I can go to the Internet The problem is no sound. I want to listen to songs from YouTube. Sound doesn't come. I see a man is singing on the screen. No sound. I had no problem with my old Mandriva. Sound and everything... (11 Replies)
Discussion started by: Toxic
11 Replies

10. Red Hat

No sound in my Linux

I am not able to run any video file. Getting message something like : no audio facility. Is this may be problem of driver. If so please send me link for the same. I am working on Red Hat Fedora (Linux) (16 Replies)
Discussion started by: ravisingh
16 Replies
POSIX_SPAWNATTR_SETSPECIALPORT_NP(3)			   BSD Library Functions Manual 		      POSIX_SPAWNATTR_SETSPECIALPORT_NP(3)

NAME
posix_spawnattr_setspecialport_np posix_spawnattr_setexceptionports_np -- set special ports on a posix_spawnattr_t SYNOPSIS
#include <spawn.h> int posix_spawnattr_setspecialport_np(posix_spawnattr_t *attr, mach_port_t new_port, int which); int posix_spawnattr_setexceptionports_np(posix_spawnattr_t *attr, exception_mask_t mask, mach_port_t new_port, exception_behavior_t behavior, thread_state_flavor_t flavor); IMPORTANT
These functions represent an Apple extension to posix_spawn(2) and posix_spawnp(2), and as such should not be used by programs intending their code to be portable to other platforms. DESCRIPTION
The posix_spawnattr_setspecialport_np() function sets a new value for a Mach special port into the value referenced by attr to the port ref- erenced by new_port for a port value of which, as if the new process had called task_set_special_port(). The posix_spawnattr_setexceptionports_np() function sets the Mach port to new_port for a number of exception ports represented by the bit- field mask, and sets the new default behavior and default flavor, as if the new process had called task_set_exception_ports(). RETURN VALUES
On success, these functions return 0; on failure they return an error number from <errno.h>. ERRORS
These functions may fail if: [EINVAL] The value specified by attr is invalid. [EINVAL] The value of attr is invalid. [ENOMEM] Insufficient resources exist to set the ports. SEE ALSO
posix_spawn(2), posix_spawnp(2), posix_spawnattr_init(3), posix_spawnattr_destroy(3) STANDARDS
Nonstandard HISTORY
The posix_spawnattr_setspecialport_np() and posix_spawnattr_setexceptionports_np() function calls appeared in Mac OS X. Mac OS X August 22, 2007 Mac OS X
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy