site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=ETbZTDNwx79GTsop+Mev4tiBrZ16mK7lf6rxFcMTzfc=; b=FvO5hlqXOFG7JnG9H147olXXzpXf6k5vWsU9A07z0kt5LUdQ3Q8tKpz9rNKdIE32iUIq3O8XwLXkaCW7CWGhVCL3PNPhu9ObOO6JKX9Mkf4Uq/n3sNXuTMGoNpW1T5pZwdEj4o++0aD2hGLk2AD0NpABFJjKvXpIexjhnhL4H+8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=Q4Et0fw/7aW9gavm7aAfH8tcoX1KQRoesKOmuhRlMfFVhd/MVMTSuNRXb9uJ7lOTbBABCohF7ZNVPuuf+t7282Olp0mJQDdU+1bSjQuxMAEOYCCz14SKGSRGV32ZI8E2fKDa/r0RW1AFa7t7GlsYM6ciSguPuyuDxFLg3Qr4djY= By the way, my system is Leopard. Can anybody tell me an appropriate way? Thank you in advance! _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I can use "sysctl kern.sysv.shmmax" or "ipcs -M" to get the integer(4194304). But they are both command line tools. It is not convenient to call it inside the problem. I also have tried to use the sysctlbyname system call: sysctlbyname("kern.sysv.shmmax", &shmmax, &len, NULL, NULL). Although this call return 0, the shmmax variable does not hold the correct value. This email sent to site_archiver@lists.apple.com