03-18-2009
.
Yes. May be the C code implementation of ls command so that i can understand what happens in background..
Thanks for your reply
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hey i have to implement copy command in parallel in c language.
i dont know how to create a new directory in destination.
if anything u know related to this help me (1 Reply)
Discussion started by: rajsekhar28
1 Replies
2. Programming
Hi all,I'm reading <Advanced programming in the UNIX environment>,that book asked the reader to implement a function which has same functions with dup2 without calling fcntl.Could anyone give me a tip?Any help will be appreciated.:) (8 Replies)
Discussion started by: homeboy
8 Replies
3. Linux
Hi
I'm trying to implement CAPWAP protocol for my application.i'm able to configure my server side but i'm getting error at client(WTP) side as IOCTL error.while running the command
#./WTP /mnt/cf/capwap/
: wlan2
Starting WTP...
# WTP Loads... (0 Replies)
Discussion started by: ran789
0 Replies
4. UNIX for Dummies Questions & Answers
Hi everybody,
i've been googling for ages now and gotten kinda desperate... The question, however, might be rather trivial for the experts: What is it exactly, i.e. physically, the POSIX function (for a file) "lseek" does? Does it trigger some kind of synchronization on disk? Is it just for the... (4 Replies)
Discussion started by: Humudituu
4 Replies
5. Linux
Hi,
I am trying to execute a program with pipes to run a few basic commands by forking children. When I try to run commands in the child process without pipe, I am unable to run the command as execv fails. However for commands that are given with pipes execute successfully.
for example:... (1 Reply)
Discussion started by: mmurali2
1 Replies
6. UNIX for Advanced & Expert Users
How can i implement Ipsec between two machines in linux_ ubuntu?
any link?? suggestion?? (0 Replies)
Discussion started by: elinaz
0 Replies
7. Shell Programming and Scripting
Is there any command to take create back up of a file as soon as when it is created?If not is it possible to create something like that? (3 Replies)
Discussion started by: Sindhu R
3 Replies
8. Shell Programming and Scripting
I want to know about the time command flow of execution.
I have a doubt in the time calculation for the command execution.
Whether the real time is sum of (time taken to open the unix window + execute the command given infront of the "time" command + close the unix window)
or Just the time... (1 Reply)
Discussion started by: sateesh Solapur
1 Replies
9. Programming
I have this code from a programming book:
#include <stdio.h>
#include <string.h>
char buf; /* input line buffer */
char* field; /* fields */
char* unquote( char* );
/* csvgetline: read and parse line, return field count */
/* sample input:... (3 Replies)
Discussion started by: totoro125
3 Replies
10. UNIX for Advanced & Expert Users
I have a running service which runs in background.
It execute shell commands by function system(cmd)
I need to report fail when command execution takes more than 60 seconds.
Parent doesn't need to wait for 60 seconds of time if the cmd execution completed already.
runCommand()
{
pid_t... (3 Replies)
Discussion started by: techmonk
3 Replies
LEARN ABOUT FREEBSD
bthidcontrol
BTHIDCONTROL(8) BSD System Manager's Manual BTHIDCONTROL(8)
NAME
bthidcontrol -- Bluetooth HID control utility
SYNOPSIS
bthidcontrol -h
bthidcontrol [-a BD_ADDR] [-c file] [-H file] [-v] command
DESCRIPTION
The bthidcontrol utility can be used to query remote Bluetooth HID devices, dump HID descriptors in human readable form and perform simple
manipulations on the Bluetooth HID daemon configuration files.
The bthidcontrol utility will print results to the standard output and error messages to the standard error.
The options are as follows:
-a BD_ADDR
Specify BD_ADDR for the HID device. Example: -a 00:01:02:03:04:05.
-c file
Specify path to the Bluetooth HID daemon configuration file. The default path is /etc/bluetooth/bthidd.conf.
-H file
Specify path to the Bluetooth HID daemon known HIDs file. The default path is /var/db/bthidd.hids.
-h Display usage message and exit.
-v Be verbose and show items that are being used for padding.
command
One of the supported commands (see below). Special command help can be used to obtain the list of all supported commands. To get
more information about specific command use help command.
COMMANDS
The currently supported node commands in bthidcontrol are:
Query
Dump
Known
Forget
FILES
/etc/bluetooth/bthidd.conf
/var/db/bthidd.hids
EXIT STATUS
The bthidcontrol utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
bthidd(8)
AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com>
BSD
October 30, 2006 BSD