A portable code question

Поиск
Список
Период
Сортировка
От nolan@celery.tssi.com
Тема A portable code question
Дата
Msg-id 20030626182000.3749.qmail@celery.tssi.com
обсуждение исходный текст
Ответы Re: A portable code question  ("Benjamin Minshall" <minshall@intellicon.biz>)
Список pgsql-hackers
In the little fix I came up with for psql last night, I need to be able
to ensure that something sent to a pipe (and then to stdout) completes 
before issuing the prompt directly to stdout.  

I did this with: "system ('sleep 1');", but I'm fairly sure that is 
not portable nor does it ENSURE completion. 

What's the proper way to do this?  And what's a good book on writing
portable code?
--
Mike Nolan


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] pg_dump "all tables" in 7.3.X
Следующее
От: Thomas Swan
Дата:
Сообщение: Re: Two weeks to feature freeze