• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Where is index defined?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is index defined?


  • Subject: Re: Where is index defined?
  • From: Vince DeMarco <email@hidden>
  • Date: Wed, 18 Feb 2004 13:46:43 -0800

On Feb 18, 2004, at 1:30 PM, Rosyna wrote:

I have a variable named index. Turns out I wasn't defining it anywhere. Where is it coming from? Command double clicking on the variable returns no results.
--



see man page.

INDEX(3) BSD Library Functions Manual INDEX(3)

NAME
     index - locate character in string

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <strings.h>

     char *
     index(const char *s, int c);

DESCRIPTION
The index() function locates the first character matching c (converted to
a char) in the null-terminated string s.



its in the c library.

vince
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Where is index defined?
      • From: Rosyna <email@hidden>
References: 
 >Where is index defined? (From: Rosyna <email@hidden>)

  • Prev by Date: Where is index defined?
  • Next by Date: Re: Where is index defined?
  • Previous by thread: Where is index defined?
  • Next by thread: Re: Where is index defined?
  • Index(es):
    • Date
    • Thread