Skip to contentSkip to conversation

local.h header file.

DISCUSSION Martin Costabel 3 participants 3 messages May 3, 1999 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 01be9500$ac75ea20$2f90a98e@presario

#1 lore raw
Quoted 6 lines

Marc-André Fortin wrote:

Can somebody tell me if there is a file called local.h in RedHat Linux 5.2? (if yes, where it is?)

Quoted 6 lines

Or maybe the parameter I'm looking for (MAX_OPEN_FILES) is somewhere else?

Should I use the grep command to find files containing a specific string? Is (grep) looks in all the subdirectories?
(I' tried, but no luck)

To look for a string in all the *.h files in all subdirectories, you can do

find . -name "*.h" -print | xargs grep MAX_OPEN

or some abbreviation thereof (you can omit the '.' and '-print').

I didn't find any local.h nor MAX_OPEN_FILES here, BTW.

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#2 lore raw

Isn't this stuff in the kernel source?

Quoted 16 lines · Martin Costabel
Quoted 6 lines

Marc-Andr� Fortin wrote:

Can somebody tell me if there is a file called local.h in RedHat Linux 5.2? (if yes, where it is?)

Quoted 6 lines

Or maybe the parameter I'm looking for (MAX_OPEN_FILES) is somewhere else?

Should I use the grep command to find files containing a specific string? Is (grep) looks in all the subdirectories?
(I' tried, but no luck)

To look for a string in all the *.h files in all subdirectories, you can do

Quoted 10 lines

find . -name "*.h" -print | xargs grep MAX_OPEN

or some abbreviation thereof (you can omit the '.' and '-print').

I didn't find any local.h nor MAX_OPEN_FILES here, BTW.

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#3 lore raw

I found reference to MAX_OPEN_FILES in the SMB man pages so I would suspect the Samba source would have local.h and the smb.conf file would have the value MAX_OPEN_FILES

Sean

Quoted 31 lines

Isn't this stuff in the kernel source?

Quoted 26 lines · Martin Costabel
Quoted 6 lines

Marc-AndrÈ Fortin wrote:

Can somebody tell me if there is a file called local.h in RedHat Linux 5.2? (if yes, where it is?)

Quoted 6 lines

Or maybe the parameter I'm looking for (MAX_OPEN_FILES) is somewhere else?

Should I use the grep command to find files containing a specific string? Is (grep) looks in all the subdirectories?
(I' tried, but no luck)

To look for a string in all the *.h files in all subdirectories, you can do

find . -name "*.h" -print | xargs grep MAX_OPEN

or some abbreviation thereof (you can omit the '.' and '-print').

I didn't find any local.h nor MAX_OPEN_FILES here, BTW.

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]