Moved bin/ directory out of apps/.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-03-19 00:09:19 +00:00
parent 66040a8d99
commit 17049c451a
4496 changed files with 0 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
//
// Copyright (c) 2001-2002, OpenBeOS
//
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//
//
// File: beep.cpp
// Author: Mahmoud Al Gammal
// Description: BeOS' command line "beep" command
// Created : Monday, September 23, 2002
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#include <Beep.h>
#include <stdio.h>
int
main( int argc, char* argv[] )
{
// "beep" can only take a single optional event name
if (argc > 2) {
fprintf(stdout,"usage: beep [ eventname ]\n");
fprintf(stdout,"Event names are found in the Sounds preferences panel.\n");
fflush(stdout);
return B_OK;
}
// if no event name is specified, play the default "Beep" event
if (argc == 1) {
return beep();
} else {
return system_beep(argv[1]);
}
}
// beep.c