ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] [JT] Программирование: errno
@ 2002-10-18 10:53 Прокопьев Евгений
  2002-10-18 10:57 ` Прокопьев Евгений
  2002-10-20 20:56 ` Dmitry V. Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Прокопьев Евгений @ 2002-10-18 10:53 UTC (permalink / raw)
  To: Community

Здравствуйте!

Вопрос 1: Какие есть конференции по программированию на C в Linux, к 
которым есть доступ через веб или почтовые рассылки?

Вопрос 2: Может кто из присутствующих подскажет, как из errno получить 
его текстовое описание?

status = execl("/bin/su", "su", "-", user, "-s", /opt/scripts/updserv");
syslog(LOG_USER | LOG_DEBUG, "execl %d %s", status, strerror(status));

Здесь в лог вываливается

Oct 18 14:39:41 john fileload[16582]: execl -1 Unknown error 4294967295

-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] [JT] Программирование: errno
  2002-10-18 10:53 [Comm] [JT] Программирование: errno Прокопьев Евгений
@ 2002-10-18 10:57 ` Прокопьев Евгений
  2002-10-20 20:56 ` Dmitry V. Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Прокопьев Евгений @ 2002-10-18 10:57 UTC (permalink / raw)
  To: community

Прокопьев Евгений wrote:

> status = execl("/bin/su", "su", "-", user, "-s", /opt/scripts/updserv");
> syslog(LOG_USER | LOG_DEBUG, "execl %d %s", status, strerror(status));

Простите, видно я переработал :-)

Но первый вопрос остается в силе
-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] [JT] Программирование: errno
  2002-10-18 10:53 [Comm] [JT] Программирование: errno Прокопьев Евгений
  2002-10-18 10:57 ` Прокопьев Евгений
@ 2002-10-20 20:56 ` Dmitry V. Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2002-10-20 20:56 UTC (permalink / raw)
  To: ALT Linux general discussion list

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

On Fri, Oct 18, 2002 at 02:53:04PM +0400, Прокопьев Евгений wrote:
> Вопрос 2: Может кто из присутствующих подскажет, как из errno получить 
> его текстовое описание?

See strerror(3).

> status = execl("/bin/su", "su", "-", user, "-s", /opt/scripts/updserv");
> syslog(LOG_USER | LOG_DEBUG, "execl %d %s", status, strerror(status));
> 
> Здесь в лог вываливается
> 
> Oct 18 14:39:41 john fileload[16582]: execl -1 Unknown error 4294967295

status == -1


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-20 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-18 10:53 [Comm] [JT] Программирование: errno Прокопьев Евгений
2002-10-18 10:57 ` Прокопьев Евгений
2002-10-20 20:56 ` Dmitry V. Levin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git