Sponsored Content
Full Discussion: file ptr.
Top Forums Programming file ptr. Post 96712 by bankpro on Monday 23rd of January 2006 05:20:44 AM
Old 01-23-2006
file ptr.

Is there any way to know the filename from an available file pointer.
 

8 More Discussions You Might Find Interesting

1. Programming

Reg: char ptr - Coredumps

#include <stdio.h> void main() { int Index=1; char *Type=NULL; Type = (char *)Index; printf("%s",Type); } Getting coredump (5 Replies)
Discussion started by: vijaysabari
5 Replies

2. AIX

Configuring Color Laser ptr in AIX

Hi All, I have Network color laser printer which is to be configured in AIX5L. The Model of the printer is OKI C3200. Will it is supported with AIX 5..? I could not find any drivers for this. Will any compatible drivers are available for this printer... I tried with the default drivers hplj-4... (2 Replies)
Discussion started by: helloajith
2 Replies

3. Programming

int *ptr + max possible value

From reading my C book, Im aware that the integers have a maximum value which depends on what type of processor you are using (since they use 16-bit or 32-bit instructions). Now I know pointers are very flexible, since they can reference anything, but in the case of integer pointers, can they... (4 Replies)
Discussion started by: JamesGoh
4 Replies

4. Solaris

how to get rid off the warning: CC: Warning: Option -ptr not supported?

Hi I am getting the below error /bin/mkdir -p ./obj/SunOS10_32/SingleThread/Debug/CC_5_3 /bin/mkdir -p ./bin/SunOS10_32/SingleThread/Debug/CC_5_3 CC -c -ptr./obj/SunOS10_32/SingleThread/Debug/CC_5_3 -V -I/opt/tuxedo/tuxedo11gR1/include -I. -I../../OBED_SA_1-27a/include... (1 Reply)
Discussion started by: deboprio
1 Replies

5. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

6. Solaris

Cannot resolve PTR record issue

Hi guys, I am currently receiving the following output in /var/log/syslog and is occurring every second leading to /var directory being full after every 2 days. Aug 20 17:32:29 opaldn1 sendmail: r7KCOlQm002517: ruleset=check_rcpt, arg1=<postmaster@silverapp6>, relay=, reject=450 4.4.0... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

7. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

8. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
SYNCE_GET_CONNECTION_FILENAME(3)			       http://www.synce.org/				  SYNCE_GET_CONNECTION_FILENAME(3)

NAME
synce_get_connection_filename - get synce connection filename SYNOPSIS
#include <synce.h> bool synce_get_connection_filename(char ** filename); bool synce_set_connection_filename(const char * filename); bool synce_set_default_connection_filename(); DESCRIPTION
These functions are used with the vdccm(1) and dccm(1) connection daemons only. They are of no use when using odccm(1). synce_get_connection_filename() provides a string describing the location of the synce device connection file, written by (v)dccm. The default file is ~/.synce/active_connection. synce_set_connection_filename() sets an alternative connection file name to use. synce_set_default_connection_filename() resets the connection filename to its default value. RETURN VALUE
Returns true if successful. synce_get_connection_filename() fails and returns false if filename is an invalid pointer, or for any of the reasons synce_get_directory() would fail. synce_set_connection_filename() returns false if filename contains '..' or is too long. SEE ALSO
synce(7) synce_get_directory(3) The SynCE Project 2007-08-26 SYNCE_GET_CONNECTION_FILENAME(3)
All times are GMT -4. The time now is 10:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy