02-23-2009
Standard UNIX functions
Hi everybody,
first of all i apologize if my thread's title doesn't make much sense,but i coudn't find a more appropriate name
Then i apologize about my question,which probably will sound trivial for you
I am working on a program which is being tested in Linux but the final target is a VxWorks system.
So far,i am in the test phase,so i'm fighting (
) with linux.Since I am a newbie to unix programming,every time i use some new library functions i wonder:will it be supported in VxWorks?
Now i ask you:is there a common set of libraries for the various unices? Obviously my attention i concentrated on the linux-vxworks couple,but any advice is welcome
Thanks in advance!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I just want to know what is the best DVD-writer & software I can use is PC, but I want to be able to read it from Unix. I tried to burn a DVD from my friend DVD-writer, when I try to read it in Unix the name of the file all mixed up. I'm not that familiar with DVD standard and which... (1 Reply)
Discussion started by: geoquest
1 Replies
2. Shell Programming and Scripting
Is there any site on Coding Standard for Shell Scripting in UNIX.
Please help me know!!!!!
Thanks
Om (1 Reply)
Discussion started by: Omkumar
1 Replies
3. Programming
Hi,
I am windows programer. I have very basic knowledge of Unix OS.
I have written an application in Windows which consists of Win32 API namely WideCharToMultiByte(..) and MultiByteToWideChar(..).
I am interested to deploy my application in unix platform henceforth I need to know IS... (1 Reply)
Discussion started by: dayakarr
1 Replies
4. Programming
Is it not a healthy practice to mix C and C++ standard I/O functions together
e.g.
string name; // this is a declared instance of the string class in C++
printf("\nPlease enter your name: ");
cin >> name;
I did something similar in a program Im designing, and used it several... (1 Reply)
Discussion started by: JamesGoh
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
i have two functions in my script.
question()
{
num=`ps -e | grep ps | awk -F" " '{print $1}'`
qno=`expr $num % 10`
grade=grade1
cat grade1/$qno
answer ${grade} ${qno}
}
answer()
{
grade=$1
qno=$2
ansno=`wc -l $grade/ans/$qno | cut -d' ' -f1`
j=0
while
do (1 Reply)
Discussion started by: Usha Shastri
1 Replies
6. Shell Programming and Scripting
Hi Guys,
Is there a way to write a recursive function in unix?
Thanks for your help in advance,
Regards,
Magesh. (1 Reply)
Discussion started by: mac4rfree
1 Replies
7. UNIX for Dummies Questions & Answers
Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway?
Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
Discussion started by: killaram
6 Replies
8. AIX
Unix 64bit AIX v6.1 standard edition
what do you mean ? function ?
pls, help me... (1 Reply)
Discussion started by: khanhphv
1 Replies
9. Shell Programming and Scripting
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line
if
then... (8 Replies)
Discussion started by: saku
8 Replies
10. Programming
Can someone outline the "best practice" (if any!) to handle newline in ANSI-C standard library functions?
I had some confusion with these functions recently related to char array and char pointer.
puts(), printf(), strcpy(), strncpy(), memset().
I seem to understand their basic use, but got... (6 Replies)
Discussion started by: yifangt
6 Replies
LEARN ABOUT OPENSOLARIS
gnome-sound-properties
gnome-sound-properties(1) User Commands gnome-sound-properties(1)
NAME
gnome-sound-properties - enable sound, and associate sounds with events
SYNOPSIS
gnome-sound-properties [--apply] [--get-legacy] [--init-session-settings] [gnome-std-options]
DESCRIPTION
The GNOME sound preference tool enables you to control which sound device is used for audio playback. You can specify sounds to play when
particular events occur, and control system beep behavior.
OPTIONS
The following options are supported:
--apply Apply the settings and quit (supported for backwards compatibility only)
--init-session-settings Just apply settings and quit (supported for backwards compatibility only)
--get-legacy Retrieve and store legacy settings
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: Launching the gnome-sound-properties tool
example% gnome-sound-properties
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-sound-properties Executable for gnome-sound-properties
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-desktop-prefs |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
Preference Tools Manual
Latest version of the GNOME Desktop User Guide for your platform.
gnome-control-center(1), libesd(3), attributes(5), gnome-std-options(5)
NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2003, 2006, 2007.
SunOS 5.11 09 Nov 2007 gnome-sound-properties(1)