• 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: Still having problume with Security API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still having problume with Security API


  • Subject: Re: Still having problume with Security API
  • From: Pelle Johansson <email@hidden>
  • Date: Wed, 16 May 2001 01:15:29 +0200

On Wednesday, May 16, 2001, at 12:56 AM, Ryan Dary wrote:

Your argv doesn't have a NULL termination:

char * argv[3];

[...]

argv[0] = SOURCE;
argv[1] = DESINATION;
argv[2] = NULL;

Try adding that..

- Ryan

argv[0] should be the application name, so it's something like:

char *argv[4];

argv[0]=PROGRAM; // "cp"
argv[1]=SOURCE;
argv[2]=DESTINATION;
argv[3]=NULL;
--
Pelle Johansson
<email@hidden>


References: 
 >Re: Still having problume with Security API (From: Ryan Dary <email@hidden>)

  • Prev by Date: Re: Still having problume with Security API
  • Next by Date: Re: Newbie Question about Document/Window/Text Field
  • Previous by thread: Re: Still having problume with Security API
  • Next by thread: Re: Still having problume with Security API
  • Index(es):
    • Date
    • Thread